aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/deploy3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index 001c92f..cd8483c 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -54,6 +54,9 @@ function hydra_deploy_setup {
# Fix hostname
if [ -s "$FOLDER/etc/hostname" ]; then
FQDN="`cat $FOLDER/etc/hostname`"
+ else
+ echo "no hostname set at $FOLDER/etc/hostname"
+ return 1
fi
hydra_deploy_set_manifest || return 1