diff options
| author | michael pereira | 2011-08-31 17:04:17 +0200 |
|---|---|---|
| committer | michael pereira | 2011-08-31 17:04:17 +0200 |
| commit | 288224f712c7f0253a7805defbb5f99cf52c5739 (patch) | |
| tree | 478af8e55c3bc3caa1103b436f63719dddd38885 /application | |
| parent | kleiner fix (diff) | |
| download | pbs2-288224f712c7f0253a7805defbb5f99cf52c5739.tar.gz pbs2-288224f712c7f0253a7805defbb5f99cf52c5739.tar.xz pbs2-288224f712c7f0253a7805defbb5f99cf52c5739.zip | |
vesamenu test
Diffstat (limited to 'application')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 16 |
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))); |
