From 07d0ae6c966a2afdf5c7ce9344b84afbbed88b04 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Wed, 9 Oct 2024 22:46:58 -0500 Subject: [PATCH] task | convert to colmena --- deploy-host | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy-host b/deploy-host index 0c666ff..266d636 100755 --- a/deploy-host +++ b/deploy-host @@ -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