From 801d551495f6682d98b9eb5faeb52945a4b370a9 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sat, 25 Jan 2025 23:12:54 -0600 Subject: [PATCH] deploy-host | add warning about wifi + switch to using justfile --- deploy-host | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy-host b/deploy-host index a3f4972..bfbe63d 100755 --- a/deploy-host +++ b/deploy-host @@ -30,6 +30,9 @@ cd ${nixsrc} sleep 5 until ping -c1 ${ip} do + echo "===========================================================" + echo "= Log onto ${host} root/changeme and run nmcli if on WiFi =" + echo "===========================================================" sleep 5 done ssh-keygen -R ${ip} @@ -38,7 +41,7 @@ ssh -o StrictHostKeyChecking=accept-new root@${ip} nixos-generate-config # git add hosts/${host}/hardware-configuration.nix # nixos-rebuild switch --flake .#${host} --target-host root@${ip} read -p 'remove iso from target' foo -colmena apply --on ${host} +just switch ${host} sleep 5 until ping -c1 ${ip} do