diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-10 10:13:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-10 10:13:43 -0300 |
commit | 1eeec1b059677261c50feaf8f13ac130c128aaeb (patch) | |
tree | 0494f143eed04764f6f063b5837a18c72618fe66 | |
parent | 49a91f98b952fc8f707e64ecacdcf32d47e03fc7 (diff) | |
download | hydra-1eeec1b059677261c50feaf8f13ac130c128aaeb.tar.gz hydra-1eeec1b059677261c50feaf8f13ac130c128aaeb.tar.bz2 |
Newnode: fix nodo::subsystem::backup::encryptkey string escaping
-rwxr-xr-x | share/hydra/newnode | 2 |
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 |