summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-06-27 18:01:33 +0200
committerMichael Neves2012-06-27 18:01:33 +0200
commitd7c981f40600ed9adbf0dd2e7f574e8d0b080879 (patch)
treefafbbc17c48d7aa5ea939274fee3ebf5094b11c2
parentipxe resourcecontroller add bootSystem Function (diff)
downloadpbs2-d7c981f40600ed9adbf0dd2e7f574e8d0b080879.tar.gz
pbs2-d7c981f40600ed9adbf0dd2e7f574e8d0b080879.tar.xz
pbs2-d7c981f40600ed9adbf0dd2e7f574e8d0b080879.zip
ipxe resourcecontroller add bootSystem Function
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index f99a27c..36a84a0 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -245,13 +245,13 @@ class Ipxe_ResourceController extends Zend_Controller_Action {
$kcl = $bootosmapper->find($bootosID)->getDefaultkcl();
- $result .= "kernel --name kernel $this->httpmode://$this->host/ipxe/resource/getkernel/alpha/".$this->session->getAlphasessionID();
- $result .= "initrd --name initramfs $this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/".$this->session->getAlphasessionID();
+ $result .= "kernel --name kernel $this->httpmode://$this->host/ipxe/resource/getkernel/alpha/".$this->session->getAlphasessionID()."\n";
+ $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();
+ $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();
+ $result .= "imgargs kernel alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend()."\n";
}
$result .= "boot";