task | convert to colmena
This commit is contained in:
parent
9574e9b871
commit
07d0ae6c96
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ ssh-keygen -R ${ip}
|
|||
ssh -o StrictHostKeyChecking=accept-new root@${ip} nixos-generate-config
|
||||
scp root@${ip}:/etc/nixos/hardware-configuration.nix 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}
|
||||
colmena apply --on ${host}
|
||||
sleep 5
|
||||
until ping -c1 ${ip}
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue