summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-12-10 16:13:51 +0100
committerSimon Rettberg2019-12-10 16:13:51 +0100
commit122b5be85a91468c6bd8eec82caffcfbe38e8e11 (patch)
tree0d4bdc737dd6cbc470304c0c11384671c9ad3b8f
parent[inc/Session] Add timeout param to Session::set(), purge on load (diff)
downloadslx-admin-122b5be85a91468c6bd8eec82caffcfbe38e8e11.tar.gz
slx-admin-122b5be85a91468c6bd8eec82caffcfbe38e8e11.tar.xz
slx-admin-122b5be85a91468c6bd8eec82caffcfbe38e8e11.zip
[rebootcontrol] Fix jumphost script template (missing %)
-rw-r--r--modules-available/rebootcontrol/pages/jumphost.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/rebootcontrol/pages/jumphost.inc.php b/modules-available/rebootcontrol/pages/jumphost.inc.php
index da5badb5..7d1877d2 100644
--- a/modules-available/rebootcontrol/pages/jumphost.inc.php
+++ b/modules-available/rebootcontrol/pages/jumphost.inc.php
@@ -137,7 +137,7 @@ class SubPage
if ($id === 'new') {
$host = ['hostid' => 'new', 'port' => 22, 'script' => "# Assume bash\n"
. "MACS='%MACS%'\n"
- . "IP='%IP'\n"
+ . "IP='%IP%'\n"
. "EW=false\n"
. "WOL=false\n"
. "command -v etherwake > /dev/null && ( [ \"\$(id -u)\" = 0 ] || [ -u \"\$(which etherwake)\" ] ) && EW=true\n"