summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-06-27 18:07:30 +0200
committerMichael Neves2012-06-27 18:07:30 +0200
commitb85a253a3ea8460d5f34d80a4be34046c7aaf309 (patch)
tree4b7ffa84cfdbf2e9fa2a4f04cfffda71c68a96fe
parentipxe resourcecontroller add bootSystem Function (diff)
downloadpbs2-b85a253a3ea8460d5f34d80a4be34046c7aaf309.tar.gz
pbs2-b85a253a3ea8460d5f34d80a4be34046c7aaf309.tar.xz
pbs2-b85a253a3ea8460d5f34d80a4be34046c7aaf309.zip
ipxe resourcecontroller add bootSystem Function
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index 36a84a0..8ca9195 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -249,11 +249,11 @@ class Ipxe_ResourceController extends Zend_Controller_Action {
$result .= "initrd --name initramfs $this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/".$this->session->getAlphasessionID()."\n";
if($bootmenuentry->getKcl() && $kcl != null){
- $result .= "imgargs kernel $kcl alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend()."\n";
+ $result .= "imgargs kernel $kcl alpha=".$this->session->getAlphasessionID()." file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend()."\n";
}else{
- $result .= "imgargs kernel alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend()."\n";
+ $result .= "imgargs kernel alpha=".$this->session->getAlphasessionID()." file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend()."\n";
}
- $result .= "boot";
+ //$result .= "boot";
} else {
$result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/serialnumber/$serialnumber/mac/$mac/error/session\n";