summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/controllers/AuthController.php
diff options
context:
space:
mode:
authormichael pereira2011-08-05 13:41:31 +0200
committermichael pereira2011-08-05 13:41:31 +0200
commit0e97a6879d96854c0fcb3e3d83c2cee146b54ac7 (patch)
treed4d94438aace0335d9f4b7c489a156f48b3bf261 /application/modules/ipxe/controllers/AuthController.php
parentboot raus (diff)
downloadpbs2-0e97a6879d96854c0fcb3e3d83c2cee146b54ac7.tar.gz
pbs2-0e97a6879d96854c0fcb3e3d83c2cee146b54ac7.tar.xz
pbs2-0e97a6879d96854c0fcb3e3d83c2cee146b54ac7.zip
initrd test
Diffstat (limited to 'application/modules/ipxe/controllers/AuthController.php')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index d7f1446..36e6d53 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -69,12 +69,12 @@ class Ipxe_AuthController extends Zend_Controller_Action
header('Content-Type: text/plain');
$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";
}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 .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID();
+ $result .= "initrd http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n";
}
$result .= "module http://pbs2.mp.openslx.org/media/img/pbs2.png\n";