scripts/deploy: fix --reboot
flag
This commit is contained in:
@@ -156,7 +156,7 @@ deployOneHost() {
|
|||||||
destructive runOnTarget "$host" sudo "$storePath/bin/switch-to-configuration" "$action" || return 1
|
destructive runOnTarget "$host" sudo "$storePath/bin/switch-to-configuration" "$action" || return 1
|
||||||
if [ -n "$doReboot" ]; then
|
if [ -n "$doReboot" ]; then
|
||||||
info "rebooting $host"
|
info "rebooting $host"
|
||||||
destructive runOnTarget "$host" sane-reboot
|
destructive runOnTarget "$host" sane-reboot "$host"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user