diff --git a/ec2-create-ce b/ec2-create-ce index f53782f..f777b07 100755 --- a/ec2-create-ce +++ b/ec2-create-ce @@ -392,7 +392,9 @@ esac if "${init_configuration}" ; then cat >> "${USER_DATA_FILE}" << EOF -sed_regexp='s/^(export FORCE)=.+$/\1=yes/' +sed_regexp='' +sed_regexp+='s/^(export FORCE)=.+$/\1=yes/;' +sed_regexp+='s/^(export DHCP)=.+$/\1=true/;' sed -ri "\${sed_regexp}" /etc/ngcp-installer/config_deploy.inc ngcp-installer && ngcp-initial-configuration EOF