aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-02 10:43:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-02 10:43:46 -0300
commitd65c6b4d695188fcccf56f2991941b1c0e78f8f2 (patch)
tree08a9a50e2a0b315f941de5632909f320bec52b71 /share
parent22b719305b3b175b149039b6867d83f20d7e3d1c (diff)
downloadhydra-d65c6b4d695188fcccf56f2991941b1c0e78f8f2.tar.gz
hydra-d65c6b4d695188fcccf56f2991941b1c0e78f8f2.tar.bz2
Fix sed expression at newnode
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newnode2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newnode b/share/hydra/newnode
index dabc27c..9926a71 100755
--- a/share/hydra/newnode
+++ b/share/hydra/newnode
@@ -63,7 +63,7 @@ cp $YAML $HYDRA_FOLDER/puppet/config/node/$NODE.yaml
# Fix role configuration
if [ ! -z "$ROLE" ]; then
- sed -i -e "s/nodo::role: 'virtual'/nodo::role: '$ROLE'" $HYDRA_FOLDER/puppet/config/node/$NODE.yaml
+ sed -i -e "s/nodo::role: 'virtual'/nodo::role: '$ROLE'/" $HYDRA_FOLDER/puppet/config/node/$NODE.yaml
fi
# Set secret YAML template