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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue