diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-02 10:43:46 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-02 10:43:46 -0300 |
commit | d65c6b4d695188fcccf56f2991941b1c0e78f8f2 (patch) | |
tree | 08a9a50e2a0b315f941de5632909f320bec52b71 /share | |
parent | 22b719305b3b175b149039b6867d83f20d7e3d1c (diff) | |
download | hydra-d65c6b4d695188fcccf56f2991941b1c0e78f8f2.tar.gz hydra-d65c6b4d695188fcccf56f2991941b1c0e78f8f2.tar.bz2 |
Fix sed expression at newnode
Diffstat (limited to 'share')
-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 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 |