aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-18 13:09:28 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-18 13:09:28 +0200
commit7ddec119eec49c7a7aab31de4b3537592bd7371a (patch)
treec1aca2a2d054bd65d81c064509ad8319c394b4ad /scripts
parentscripts/update_hosts.sh: pass user and selected hosts to ping script (diff)
downloadnixos-server-7ddec119eec49c7a7aab31de4b3537592bd7371a.zip
scripts/update_hosts.sh: Make shellcheck happy
Diffstat (limited to '')
-rwxr-xr-xscripts/update_hosts.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/update_hosts.sh b/scripts/update_hosts.sh
index 7e7104c..4f32722 100755
--- a/scripts/update_hosts.sh
+++ b/scripts/update_hosts.sh
@@ -50,8 +50,6 @@ for host in $hosts; do
printf "Deploying remote side script ..\n"
scp "$base_dir/scripts/update_hosts.remote" "$user@$host.vhack.eu:update_host.remote"
- set -x
-
flake_path=""
if [ "$direct" = true ]; then
printf "Deploying git config ..\n"
@@ -83,6 +81,6 @@ done
# Give the servers some time to reboot
sleep 5
-ping_hosts.sh $user $hosts
+ping_hosts.sh "$user" "$hosts"
# vim: ft=sh