From 122b5be85a91468c6bd8eec82caffcfbe38e8e11 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 10 Dec 2019 16:13:51 +0100 Subject: [rebootcontrol] Fix jumphost script template (missing %) --- modules-available/rebootcontrol/pages/jumphost.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-55-g7522