bin/deploy: if we resolve ts host, use fqdn
This commit is contained in:
parent
f0956c4018
commit
2f8cde4a89
@ -15,6 +15,8 @@ rebuild() {
|
|||||||
if ! tsAlive $host; then
|
if ! tsAlive $host; then
|
||||||
msg "can't reach ${1}.. skipping.."
|
msg "can't reach ${1}.. skipping.."
|
||||||
return
|
return
|
||||||
|
else
|
||||||
|
host="${host}.otter-alligator.ts.net"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
hostVersion=$(${SSH} root@${host} 'nixos-version --json | jq -r .configurationRevision')
|
hostVersion=$(${SSH} root@${host} 'nixos-version --json | jq -r .configurationRevision')
|
||||||
|
Loading…
Reference in New Issue
Block a user