machines: fix nixos-rebuild not getting retried
This commit is contained in:
@@ -188,12 +188,12 @@ def deploy_machines(machines: list[Machine]) -> None:
|
|||||||
machine.info(
|
machine.info(
|
||||||
"Mobile machine detected, applying workaround deployment method"
|
"Mobile machine detected, applying workaround deployment method"
|
||||||
)
|
)
|
||||||
ret = host.run(
|
ret = host.run(
|
||||||
test_cmd if is_mobile else switch_cmd,
|
test_cmd if is_mobile else switch_cmd,
|
||||||
RunOpts(msg_color=MsgColor(stderr=AnsiColor.DEFAULT)),
|
RunOpts(msg_color=MsgColor(stderr=AnsiColor.DEFAULT)),
|
||||||
extra_env=env,
|
extra_env=env,
|
||||||
become_root=True,
|
become_root=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
with AsyncRuntime() as runtime:
|
with AsyncRuntime() as runtime:
|
||||||
for machine in machines:
|
for machine in machines:
|
||||||
|
|||||||
Reference in New Issue
Block a user