Skip to content

Commit 9d3b460

Browse files
Mic92mergify[bot]
authored andcommitted
from-nixos-with-sudo: no longer use stop-after-disko
1 parent df96ab6 commit 9d3b460

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/nixos-anywhere.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ parseArgs() {
203203
shift
204204
;;
205205
--stop-after-disko)
206-
echo "WARNING: --stop-after-disko is deprecated, use --phases=kexec,disko instead" 2>&1
206+
echo "WARNING: --stop-after-disko is deprecated, use --phases kexec,disko instead" 2>&1
207207
phases[kexec]=1
208208
phases[disko]=1
209209
phases[install]=0
210210
phases[reboot]=0
211211
;;
212212
--no-reboot)
213-
echo "WARNING: --no-reboot is deprecated, use --phases=kexec,disko,install instead" 2>&1
213+
echo "WARNING: --no-reboot is deprecated, use --phases kexec,disko,install instead" 2>&1
214214
phases[kexec]=1
215215
phases[disko]=1
216216
phases[install]=1

tests/from-nixos-with-sudo.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
-i /root/.ssh/install_key \
2424
--debug \
2525
--kexec /etc/nixos-anywhere/kexec-installer \
26-
--stop-after-disko \
26+
--phases kexec,disko \
2727
--disk-encryption-keys /tmp/disk-1.key /tmp/disk-1.key \
2828
--disk-encryption-keys /tmp/disk-2.key <(echo another-secret) \
2929
--store-paths /etc/nixos-anywhere/disko /etc/nixos-anywhere/system-to-install \

0 commit comments

Comments
 (0)