diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-12 18:18:01 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-12 18:18:01 -0200 |
commit | bb873d81289eb21f67d1da1fa4d2efc204bd0dd5 (patch) | |
tree | 4b1c6ea64ac8abda2da81b3665b4a4b9232161bd /share | |
parent | 3a4622b57877315a8e7221448718122d958dba39 (diff) | |
download | hydra-bb873d81289eb21f67d1da1fa4d2efc204bd0dd5.tar.gz hydra-bb873d81289eb21f67d1da1fa4d2efc204bd0dd5.tar.bz2 |
Deploy: use hostname cmd instead of facter
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/deploy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy index 4b07512..093b723 100755 --- a/share/hydra/deploy +++ b/share/hydra/deploy @@ -139,9 +139,9 @@ for node in $NODES; do exit 1 fi - if [ "\$(facter fqdn)" != "$FQDN" ]; then + if [ "\$(hostname)" != "$FQDN" ]; then echo "FQDN does not match:" - echo "Remote presents itself as \$(facter fqdn) instead of $FQDN" + echo "Remote presents itself as \$(hostname) instead of $FQDN" exit 1 fi |