Compare commits
2 Commits
sachk-main
...
pr-5024
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8584f3247a | ||
|
|
d3534a2b72 |
@@ -214,7 +214,7 @@ def run_machine_install(opts: InstallOptions, target_host: Remote) -> None:
|
|||||||
cmd,
|
cmd,
|
||||||
)
|
)
|
||||||
|
|
||||||
install_steps = {
|
default_install_steps: dict[str, Step] = {
|
||||||
"kexec": "nixos-anywhere",
|
"kexec": "nixos-anywhere",
|
||||||
"disko": "formatting",
|
"disko": "formatting",
|
||||||
"install": "installing",
|
"install": "installing",
|
||||||
@@ -222,7 +222,7 @@ def run_machine_install(opts: InstallOptions, target_host: Remote) -> None:
|
|||||||
}
|
}
|
||||||
|
|
||||||
def run_phase(phase: str) -> None:
|
def run_phase(phase: str) -> None:
|
||||||
notification = install_steps.get(phase, "nixos-anywhere")
|
notification = default_install_steps.get(phase, "nixos-anywhere")
|
||||||
notify_install_step(notification)
|
notify_install_step(notification)
|
||||||
run(
|
run(
|
||||||
[*cmd, "--phases", phase],
|
[*cmd, "--phases", phase],
|
||||||
|
|||||||
Reference in New Issue
Block a user