diff options
| author | michael pereira | 2011-09-21 18:10:56 +0200 |
|---|---|---|
| committer | michael pereira | 2011-09-21 18:10:56 +0200 |
| commit | f2af3f673b39d8db18f8d50881a2d0a2625d5441 (patch) | |
| tree | 60ed0de1e6559367a50b811ef8726bd9ee0650d0 /application/modules/ipxe | |
| parent | gpxecmd.c32 (diff) | |
| download | pbs2-f2af3f673b39d8db18f8d50881a2d0a2625d5441.tar.gz pbs2-f2af3f673b39d8db18f8d50881a2d0a2625d5441.tar.xz pbs2-f2af3f673b39d8db18f8d50881a2d0a2625d5441.zip | |
altes vesamenu
Diffstat (limited to 'application/modules/ipxe')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 8 | ||||
| -rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 1a1e760..ceeaf73 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -72,11 +72,15 @@ class Ipxe_AuthController extends Zend_Controller_Action $result .= "imgfree\n"; if($login){ $result .= "login\n"; - $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/true\n"; + $result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/true\n"; }else{ - $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n"; + $result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n"; } + $result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/pbs2.png\n"; + $result .= "boot\n"; + + header("Content-Length: ".(strlen($result))); echo $result; diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index ff978b1..7b5504e 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -59,7 +59,7 @@ TIMEOUT 100 PROMPT 0 -MENU BACKGROUND <?php echo "http://$this->host/ipxe/pbs2.png\n"; ?> +MENU BACKGROUND pbs2.png MENU WIDTH 78 MENU MARGIN 9 MENU PASSWORDMARGIN 9 |
