diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-23 14:20:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-23 14:20:09 -0300 |
commit | 51be58f04ab6ea052e2b078313ea1e1ebba9fc48 (patch) | |
tree | 09a6d5335d6a95d3dbdfc2b4b0421d2be36bd8a9 | |
parent | 599ff8f3d71adf5df194f0361c6122a630057a93 (diff) | |
download | hydra-51be58f04ab6ea052e2b078313ea1e1ebba9fc48.tar.gz hydra-51be58f04ab6ea052e2b078313ea1e1ebba9fc48.tar.bz2 |
Compile: fixes ssh pubkey value
-rwxr-xr-x | share/hydra/compile | 2 |
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 |