deploy-host | add warning about wifi + switch to using justfile
This commit is contained in:
parent
07b603bed1
commit
801d551495
1 changed files with 4 additions and 1 deletions
|
|
@ -30,6 +30,9 @@ cd ${nixsrc}
|
||||||
sleep 5
|
sleep 5
|
||||||
until ping -c1 ${ip}
|
until ping -c1 ${ip}
|
||||||
do
|
do
|
||||||
|
echo "==========================================================="
|
||||||
|
echo "= Log onto ${host} root/changeme and run nmcli if on WiFi ="
|
||||||
|
echo "==========================================================="
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
ssh-keygen -R ${ip}
|
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
|
# git add hosts/${host}/hardware-configuration.nix
|
||||||
# nixos-rebuild switch --flake .#${host} --target-host root@${ip}
|
# nixos-rebuild switch --flake .#${host} --target-host root@${ip}
|
||||||
read -p 'remove iso from target' foo
|
read -p 'remove iso from target' foo
|
||||||
colmena apply --on ${host}
|
just switch ${host}
|
||||||
sleep 5
|
sleep 5
|
||||||
until ping -c1 ${ip}
|
until ping -c1 ${ip}
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue