diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-26 13:23:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-26 13:23:01 +0100 |
commit | 2f6d64a1a81de511c0b62dc2241dc08dc75e5283 (patch) | |
tree | 7b5a0eecc6c3b523340fea5ee2d45c66f4a4f1c5 /upgrade.sh | |
parent | 05bb108323cd7a28968f38a21817443ce17a429a (diff) | |
download | nixcfg-2f6d64a1a81de511c0b62dc2241dc08dc75e5283.tar.gz nixcfg-2f6d64a1a81de511c0b62dc2241dc08dc75e5283.zip |
Cleanup
Diffstat (limited to 'upgrade.sh')
-rwxr-xr-x | upgrade.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -19,6 +19,10 @@ for NIXHOST in $NIXHOSTLIST; do echo "==== DOING $NIXHOST ====" + ssh -F ssh_config $SSH_DEST sudo nix-channel --add https://nixos.org/channels/nixos-21.11 nixos ssh -F ssh_config $SSH_DEST sudo nix-channel --update - ssh -F ssh_config $SSH_DEST sudo nixos-rebuild switch + ssh -F ssh_config $SSH_DEST sudo nixos-rebuild boot + + echo "Please reboot node manually to activate upgraded system:" + echo "$ ssh -F ssh_config $SSH_DEST sudo reboot" done |