diff options
| author | michael pereira | 2011-08-05 14:15:55 +0200 |
|---|---|---|
| committer | michael pereira | 2011-08-05 14:15:55 +0200 |
| commit | 6cb862bd8bb59e10a4fafba2a2a0e4514c867a7f (patch) | |
| tree | 66c071d221aa65df501f32a289d51b676b2c64cf /application | |
| parent | initrd test (diff) | |
| download | pbs2-6cb862bd8bb59e10a4fafba2a2a0e4514c867a7f.tar.gz pbs2-6cb862bd8bb59e10a4fafba2a2a0e4514c867a7f.tar.xz pbs2-6cb862bd8bb59e10a4fafba2a2a0e4514c867a7f.zip | |
initrd test
Diffstat (limited to 'application')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 48e4c44..0c11f26 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -70,8 +70,11 @@ class Ipxe_AuthController extends Zend_Controller_Action $result = "#!ipxe\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 .= "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"; }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"; |
