Commit 197343e
Fix logging in as incorrect user if phases kexec is not set
When executing nixos-anywhere --phases disko myuser@<ip> for example we
must assume that kexec has already been run and that the target user
changed to root now. This will force nixos-anywhere to log in as root
user if the kexec phase is not present.
Co-authored-by: Qubasa <consulting@qube.email>1 parent c84d6e0 commit 197343e
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1019 | 1025 | | |
1020 | 1026 | | |
1021 | 1027 | | |
| |||
0 commit comments