diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/import-keys | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/import-keys b/share/hydra/import-keys index b180d28..dc9d575 100755 --- a/share/hydra/import-keys +++ b/share/hydra/import-keys @@ -30,7 +30,7 @@ function hydra_import_keys_openpgp { continue fi - $HYDRA_CONNECT $node <<EOF + $HYDRA_CONNECT $hostname <<EOF ##### BEGIN REMOTE SCRIPT ##### echo "" echo "-----------------------------" @@ -71,7 +71,7 @@ for node in $NODES; do if [ ! -z "$HOST" ]; then hostname="$HOST" else - hostname="`echo $node | cut -d . -f 1`" + hostname="`hydra_get_fqdn_from_nodename $node`" fi # Import OpenPGP keypair |