summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-07-11 02:39:19 +0200
committermichael pereira2011-07-11 02:39:19 +0200
commit843783e45cb3913b0029d2fe9df7a0cb819b6b5c (patch)
tree8546e84a412b6fe25fa8d2737db6ca53924736ae /application/modules
parentredirect raus (diff)
downloadpbs2-843783e45cb3913b0029d2fe9df7a0cb819b6b5c.tar.gz
pbs2-843783e45cb3913b0029d2fe9df7a0cb819b6b5c.tar.xz
pbs2-843783e45cb3913b0029d2fe9df7a0cb819b6b5c.zip
redirect raus
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml32
1 files changed, 16 insertions, 16 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index 6785183..f4dc8d2 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -116,22 +116,22 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none
// localboot();
// }
-$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(),
- "http://$this->host/ipxe/resource/start/alpha/$this->alphaID/bme/".$bme->getID(), "initrd=http://$this->host/resource/getinitramfs/alpha/$this->alphaID/file/initramfs $kcl alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
- }else{
- uriboot ( $bme->getTitle(),
- "http://$this->host/ipxe/resource/start/alpha/$this->alphaID/bme/".$bme->getID(), "initrd=http://$this->host/resource/getinitramfs/alpha/$this->alphaID/file/initramfs alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
- }
- }
-}
+//$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(),
+// "http://$this->host/ipxe/resource/start/alpha/$this->alphaID/bme/".$bme->getID(), "initrd=http://$this->host/resource/getinitramfs/alpha/$this->alphaID/file/initramfs $kcl alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
+// }else{
+// uriboot ( $bme->getTitle(),
+// "http://$this->host/ipxe/resource/start/alpha/$this->alphaID/bme/".$bme->getID(), "initrd=http://$this->host/resource/getinitramfs/alpha/$this->alphaID/file/initramfs alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
+// }
+// }
+//}
localboot();
// }