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