deploy-host | add warning about wifi + switch to using justfile

This commit is contained in:
Don Harper 2025-01-25 23:12:54 -06:00
parent 07b603bed1
commit 801d551495

View file

@ -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