diff options
author | Simon Rettberg | 2019-04-03 15:20:45 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-03 15:20:45 +0200 |
commit | 2d80e089e78bfacae58434226b25cff31bd5ba44 (patch) | |
tree | 3a516ce5cf566ac39a81e87da48eb4a6bd99396d /modules-available/serversetup-bwlp-ipxe | |
parent | [exams] Add constraints to exams_x_location table (diff) | |
download | slx-admin-2d80e089e78bfacae58434226b25cff31bd5ba44.tar.gz slx-admin-2d80e089e78bfacae58434226b25cff31bd5ba44.tar.xz slx-admin-2d80e089e78bfacae58434226b25cff31bd5ba44.zip |
[serversetup-bwlp-ipxe] Use --nouser for OpenSLX iPXE
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/api.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/api.inc.php b/modules-available/serversetup-bwlp-ipxe/api.inc.php index 67d6fd26..61c664b8 100644 --- a/modules-available/serversetup-bwlp-ipxe/api.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/api.inc.php @@ -138,8 +138,10 @@ if (isset($BOOT_METHODS[$localboot])) { if ($slxExtensions) { $slxConsoleUpdate = '--update'; + $slxPasswordOnly = '--nouser'; } else { $slxConsoleUpdate = ''; + $slxPasswordOnly = ''; } $output = <<<HERE @@ -155,7 +157,7 @@ goto $initLabel || goto fail || # slx_pw_ok to the label to jump on success # slx_pw_fail to label for wrong pw :slx_pass_check -login || +login $slxPasswordOnly || set slxtmp_pw \${password:md5}-\${slx_salt} || goto fail set slxtmp_pw \${slxtmp_pw:md5} || goto fail clear password || |