diff options
author | Michael Neves | 2012-06-27 17:49:30 +0200 |
---|---|---|
committer | Michael Neves | 2012-06-27 17:49:30 +0200 |
commit | 1e33c186a46336fa1965147f94e8e2774844860d (patch) | |
tree | 4a8cfc0e9062fa273f533bb52059718a4d3cee16 /application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | |
parent | ipxe auth login (diff) | |
download | pbs2-1e33c186a46336fa1965147f94e8e2774844860d.tar.gz pbs2-1e33c186a46336fa1965147f94e8e2774844860d.tar.xz pbs2-1e33c186a46336fa1965147f94e8e2774844860d.zip |
ipxe resourcecontroller add bootSystem Function
Diffstat (limited to 'application/modules/ipxe/views/scripts/resource/getvesamenu.phtml')
-rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index e3c2bf6..17fda91 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -149,21 +149,11 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none }else{ title ( $this->title); - - $bootosmapper = new Application_Model_BootOsMapper(); if(isset($this->bmelist)){ foreach($this->bmelist as $bme){ - - $kcl = $bootosmapper->find($bme->getBootosID())->getDefaultkcl(); - - if($bme->getKcl() && $kcl != null){ - uriboot ( $bme->getTitle(), - "$this->httpmode://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=$this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs $kcl alpha=$this->alphaID file=$this->httpmode://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend()); - }else{ - uriboot ( $bme->getTitle(), - "$this->httpmode://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=$this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs alpha=$this->alphaID file=$this->httpmode://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend()); - } + uriboot ( $bme->getTitle(), + "$this->httpmode://$this->host/ipxe/resource/bootSystem/alpha/$this->alphaID/bme/".$bme->getID(), ""); } }else{ nobootmenu(); |