aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/import-keys6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydra/import-keys b/share/hydra/import-keys
index dc9d575..00dc103 100755
--- a/share/hydra/import-keys
+++ b/share/hydra/import-keys
@@ -69,11 +69,11 @@ fi
# Deploy
for node in $NODES; do
if [ ! -z "$HOST" ]; then
- hostname="$HOST"
- else
- hostname="`hydra_get_fqdn_from_nodename $node`"
+ node="$HOST"
fi
+ hostname="`hydra_get_fqdn_from_nodename $node`"
+
# Import OpenPGP keypair
hydra_import_keys_openpgp