From 6a0a9c86ac3d465fcb4eb00f0d2e52f9389aa617 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Tue, 28 Jan 2025 20:55:14 -0600 Subject: [PATCH] depoly-host | add notifications --- deploy-host | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy-host b/deploy-host index bfbe63d..457d250 100755 --- a/deploy-host +++ b/deploy-host @@ -33,6 +33,7 @@ do echo "===========================================================" echo "= Log onto ${host} root/changeme and run nmcli if on WiFi =" echo "===========================================================" + notify-send --urgency=critical --icon=rocket "Log onto ${host} root/changeme and run nmcli if on WiFi" sleep 5 done ssh-keygen -R ${ip} @@ -40,6 +41,7 @@ ssh -o StrictHostKeyChecking=accept-new root@${ip} nixos-generate-config # scp root@${ip}:/etc/nixos/hardware-configuration.nix hosts/${host}/hardware-configuration.nix # git add hosts/${host}/hardware-configuration.nix # nixos-rebuild switch --flake .#${host} --target-host root@${ip} +notify-send --urgency=critical --expire-time=0 --icon=cdrom "Remove boot iso" read -p 'remove iso from target' foo just switch ${host} sleep 5