From: Silvio Rhatto Date: Fri, 2 Jun 2017 13:43:46 +0000 (-0300) Subject: Fix sed expression at newnode X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d65c6b4d695188fcccf56f2991941b1c0e78f8f2;p=hydra.git Fix sed expression at newnode --- 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