From 0e9e983e1c7a19bcfec5eb1d04f9e1ebf6f695ba Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 12 May 2016 17:48:29 -0300 Subject: Use hydra_get_fqdn_from_nodename also for HOST env variable at import-keys --- share/hydra/import-keys | 6 +++--- 1 file 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 -- cgit v1.2.3