TT#37257 Escape sed_regexp variable

This variable declared and should be used within VM.

Change-Id: I2a8a324634836c9a421ab835348c21524c193457
changes/19/24319/1
Mykola Malkov 7 years ago
parent 7971fca2d3
commit d2edeb53cc

@ -393,7 +393,7 @@ esac
if "${init_configuration}" ; then
cat >> "${USER_DATA_FILE}" << EOF
sed_regexp='s/^(export FORCE)=.+$/\1=yes/'
sed -ri '${sed_regexp}' /etc/ngcp-installer/config_deploy.inc
sed -ri '\${sed_regexp}' /etc/ngcp-installer/config_deploy.inc
ngcp-installer && ngcp-initial-configuration
EOF
else

Loading…
Cancel
Save