summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/ipxe/views/scripts/resource/getvesamenu.phtml')
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml14
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();