summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/compile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/compile b/share/hydra/compile
index 7167424..b120d0d 100755
--- a/share/hydra/compile
+++ b/share/hydra/compile
@@ -43,7 +43,7 @@ for node in $NODES; do
if [ -e "$HYDRA_FOLDER/keyring/keys/nodes/$node/ssh/id_rsa.pub.asc" ]; then
echo "Adding SSH public key for $node..."
key="compiled::ssh::key::$node_key"
- value="$(keyringer $HYDRA decrypt nodes/$node/ssh/id_rsa.pub 2> /dev/null)"
+ value="$(keyringer $HYDRA decrypt nodes/$node/ssh/id_rsa.pub 2> /dev/null | cut -d ' ' -f 2)"
echo "$key: '$value'" >> $CONFIG
fi
done