diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-12 17:48:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-12 17:48:29 -0300 |
commit | 0e9e983e1c7a19bcfec5eb1d04f9e1ebf6f695ba (patch) | |
tree | e99d92f9607d895271534002b77cbc581e8f3876 | |
parent | 4823190534e4825f9246b36a7f699fb02bd4723b (diff) | |
download | hydra-0e9e983e1c7a19bcfec5eb1d04f9e1ebf6f695ba.tar.gz hydra-0e9e983e1c7a19bcfec5eb1d04f9e1ebf6f695ba.tar.bz2 |
Use hydra_get_fqdn_from_nodename also for HOST env variable at import-keys
-rwxr-xr-x | share/hydra/import-keys | 6 |
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 |