diff options
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 |