From ff0b49eba9d0e614edfe496e1ed1d29e204c3e9a Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Wed, 27 Jun 2012 18:00:49 +0200 Subject: ipxe resourcecontroller add bootSystem Function --- application/modules/ipxe/controllers/ResourceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index d95b612..f99a27c 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -249,9 +249,9 @@ class Ipxe_ResourceController extends Zend_Controller_Action { $result .= "initrd --name initramfs $this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/".$this->session->getAlphasessionID(); if($bootmenuentry->getKcl() && $kcl != null){ - $result .= "imgargs kernel $kcl alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bme->getKclappend(); + $result .= "imgargs kernel $kcl alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend(); }else{ - $result .= "imgargs kernel alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bme->getKclappend(); + $result .= "imgargs kernel alpha=".$this->session->getAlphasessionID()."file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend(); } $result .= "boot"; -- cgit v1.2.3-55-g7522