summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/import-keys2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/import-keys b/share/hydra/import-keys
index 784deae..b180d28 100755
--- a/share/hydra/import-keys
+++ b/share/hydra/import-keys
@@ -22,7 +22,7 @@ hydra_config_load
# Import OpenPGP keypair
function hydra_import_keys_openpgp {
- key="$(keyringer $HYDRA decrypt $hostname/gpg/key 2> /dev/null | sed -ne '1,$p')"
+ key="$(keyringer $HYDRA decrypt nodes/$hostname/gpg/key 2> /dev/null | sed -ne '1,$p')"
key_id="$(echo "$key" | gpg --with-colons | grep sec | cut -d : -f 5)"
if [ -z "$key" ]; then