aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/deploy4
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