From 288224f712c7f0253a7805defbb5f99cf52c5739 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Wed, 31 Aug 2011 17:04:17 +0200 Subject: vesamenu test --- application/modules/ipxe/controllers/AuthController.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'application/modules/ipxe/controllers/AuthController.php') 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))); -- cgit v1.2.3-55-g7522