summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authormichael pereira2011-08-31 17:04:17 +0200
committermichael pereira2011-08-31 17:04:17 +0200
commit288224f712c7f0253a7805defbb5f99cf52c5739 (patch)
tree478af8e55c3bc3caa1103b436f63719dddd38885 /application
parentkleiner fix (diff)
downloadpbs2-288224f712c7f0253a7805defbb5f99cf52c5739.tar.gz
pbs2-288224f712c7f0253a7805defbb5f99cf52c5739.tar.xz
pbs2-288224f712c7f0253a7805defbb5f99cf52c5739.zip
vesamenu test
Diffstat (limited to 'application')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index e94a8e7..e7691d2 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -71,17 +71,17 @@ class Ipxe_AuthController extends Zend_Controller_Action
$result = "#!ipxe\n";
$result .= "imgfree\n";
if($login){
- //$result .= "login\n";
- //$result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/true\n";
+ $result .= "login\n";
+ $result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/true\n";
}else{
- //$result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n";
- $result .= "set 209:string http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n";
- $result .= "set 210:string http://pbs2.mp.openslx.org/media/\n";
- $result .= "chain \${210:string}pxelinux.0\n";
+ $result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n";
+// $result .= "set 209:string http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n";
+// $result .= "set 210:string http://pbs2.mp.openslx.org/media/\n";
+// $result .= "chain \${210:string}pxelinux.0\n";
}
- //$result .= ":retry\n module http://pbs2.mp.openslx.org/media/img/pbs2.png || goto retry\n";
- //$result .= "boot";
+ $result .= "module http://pbs2.mp.openslx.org/media/img/pbs2.png";
+ $result .= "boot";
header("Content-Length: ".(strlen($result)));