forked from hswaw/hscloud
ops: update deploy instructions to include profile set
This is necessary for the NixOS EFI boot machinery to pick up the new derivation when switching to it, otherwise the machine will not boot into the newly switched configuration. Change-Id: I8b18956d2afeea09c38462f09a00c345cf86f80d
This commit is contained in:
parent
3df9d0c082
commit
0ec06d7b75
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,10 @@
|
|||
# To then deploy derivation $d on $machine:
|
||||
#
|
||||
# nix-copy-closure --to root@$machine $d
|
||||
# ssh root@$machine $d/bin/switch-to-configuration
|
||||
# ssh root@$machine $d/bin/switch-to-configuration dry-activate
|
||||
# ssh root@$machine $d/bin/switch-to-configuration test
|
||||
# ssh root@$machine nix-env -p /nix/var/nix/profiles/system --set $d
|
||||
# ssh root@$machine $d/bin/switch-to-configuration boot
|
||||
#
|
||||
# TODO(q3k): merge this with //cluster/clustercfg - this should be unified!
|
||||
|
||||
|
|
Loading…
Reference in a new issue