From 2f8cde4a897098beec08a389c8757d98c7921e3c Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 1 Apr 2024 20:12:20 -0600 Subject: [PATCH] bin/deploy: if we resolve ts host, use fqdn --- bin/deploy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/deploy b/bin/deploy index cedadf2..e438e1a 100755 --- a/bin/deploy +++ b/bin/deploy @@ -15,6 +15,8 @@ rebuild() { if ! tsAlive $host; then msg "can't reach ${1}.. skipping.." return + else + host="${host}.otter-alligator.ts.net" fi hostVersion=$(${SSH} root@${host} 'nixos-version --json | jq -r .configurationRevision')