diff options
| author | michael pereira | 2011-08-05 15:16:13 +0200 |
|---|---|---|
| committer | michael pereira | 2011-08-05 15:16:13 +0200 |
| commit | db9c580cbb5386b6bc901671dae4898ed9a4b79d (patch) | |
| tree | 9ceb6aa7db90ab7bce389f732a0feb9e93ae9887 /application/modules | |
| parent | initrd test (diff) | |
| download | pbs2-db9c580cbb5386b6bc901671dae4898ed9a4b79d.tar.gz pbs2-db9c580cbb5386b6bc901671dae4898ed9a4b79d.tar.xz pbs2-db9c580cbb5386b6bc901671dae4898ed9a4b79d.zip | |
initrd test
Diffstat (limited to 'application/modules')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 0c11f26..7c5ed24 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -70,18 +70,14 @@ class Ipxe_AuthController extends Zend_Controller_Action $result = "#!ipxe\n"; if($login){ - $result .= "imgselect ".$session->getAlphasessionID()."\n"; - $result .= "imgargs ".$session->getAlphasessionID()." http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\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"; + $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()."\n"; - $result .= "imgargs ".$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()." 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"; - //$result .= "boot"; + $result .= "boot"; header("Content-Length: ".(strlen($result))); |
