summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe
diff options
context:
space:
mode:
authormichael pereira2011-07-11 14:57:22 +0200
committermichael pereira2011-07-11 14:57:22 +0200
commite88bb8deb511f98b8bab168911d759775e3658c5 (patch)
tree8e43f4fca95ac16635890a699bb27b4d17b41c22 /application/modules/ipxe
parenturiload test (diff)
downloadpbs2-e88bb8deb511f98b8bab168911d759775e3658c5.tar.gz
pbs2-e88bb8deb511f98b8bab168911d759775e3658c5.tar.xz
pbs2-e88bb8deb511f98b8bab168911d759775e3658c5.zip
uriload test
Diffstat (limited to 'application/modules/ipxe')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php24
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml4
2 files changed, 14 insertions, 14 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index 839debc..c961f05 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -34,19 +34,19 @@ class Ipxe_ResourceController extends Zend_Controller_Action
$this->thisSession->setID($result[0]['sessionID']);
}
- $bootmenuntryID = $this->_request->getParam('bme');
+// $bootmenuntryID = $this->_request->getParam('bme');
- if(isset($bootmenuntryID)){
- $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper();
- $bootmenuentry = new Application_Model_BootMenuEntries();
- $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry);
-
- $sessionMapper = new Application_Model_SessionMapper();
-
- $this->thisSession->setBootmenuentryID($bootmenuntryID);
- $this->thisSession->setBootosID($bootmenuentry->getBootosID());
- $sessionMapper->save($this->thisSession);
- }
+// if(isset($bootmenuntryID)){
+// $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper();
+// $bootmenuentry = new Application_Model_BootMenuEntries();
+// $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry);
+//
+// $sessionMapper = new Application_Model_SessionMapper();
+//
+// $this->thisSession->setBootmenuentryID($bootmenuntryID);
+// $this->thisSession->setBootosID($bootmenuentry->getBootosID());
+// $sessionMapper->save($this->thisSession);
+// }
}
public function getvesamenuAction(){
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index 1850534..b470c85 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -129,10 +129,10 @@ if(isset($this->bmelist)){
if($bme->getKcl() && $kcl != null){
uriboot ( $bme->getTitle(),
- "http://$this->host/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "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());
+ "http://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=http://$this->host/ipxe/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/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "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());
+ "http://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=http://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/file/initramfs alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
}
}
}