fix: restore use-remote-sudo for nixos-rebuild compatibility
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 20s

This commit is contained in:
2026-02-28 23:20:12 +00:00
parent 0a51dfc0e1
commit dad409a5b7

View File

@@ -132,7 +132,7 @@ rebuild_node() {
timeout "$REBUILD_TIMEOUT" nixos-rebuild switch \
--flake "$FLAKE_DIR#$node_name" \
--target-host "$ACTIVE_SSH_USER@$node_ip" \
--sudo
--use-remote-sudo
}
rebuild_node_with_retry() {