aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-10 10:13:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-10 10:13:43 -0300
commit1eeec1b059677261c50feaf8f13ac130c128aaeb (patch)
tree0494f143eed04764f6f063b5837a18c72618fe66
parent49a91f98b952fc8f707e64ecacdcf32d47e03fc7 (diff)
downloadhydra-1eeec1b059677261c50feaf8f13ac130c128aaeb.tar.gz
hydra-1eeec1b059677261c50feaf8f13ac130c128aaeb.tar.bz2
Newnode: fix nodo::subsystem::backup::encryptkey string escaping
-rwxr-xr-xshare/hydra/newnode2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newnode b/share/hydra/newnode
index 78cd6cb..5e2a469 100755
--- a/share/hydra/newnode
+++ b/share/hydra/newnode
@@ -86,7 +86,7 @@ hydra $HYDRA newkeys all $NODE
# Add OpenPGP key ID into secret node config
KEYID="`keyringer $HYDRA decrypt nodes/$NODE/gpg/key.pub 2> /dev/null | gpg --with-colons 2> /dev/null | grep ^pub: | cut -d : -f 5`"
-echo "nodo::subsystem::backup::encryptkey: '$KEYID\"" >> $HYDRA_FOLDER/puppet/config/secrets/node/$NODE.yaml
+echo "nodo::subsystem::backup::encryptkey: '$KEYID'" >> $HYDRA_FOLDER/puppet/config/secrets/node/$NODE.yaml
echo "" >> $HYDRA_FOLDER/puppet/config/secrets/node/$NODE.yaml