systemvm: Use double quotes with 'RROUTER' variable in "common.sh" script (#2586)

While debugging the VR for #2579, I noticed that one of the scripts were breaking. The variable RROUTER was not set and this broke a conditional.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rafael Weingärtner 2018-04-19 15:57:45 -03:00 committed by Rohit Yadav
parent bfe4cb0c41
commit 9288c64e5f
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ routing_svcs() {
systemctl enable haproxy
echo "haproxy apache2" > /var/cache/cloud/enabled_svcs
echo "cloud nfs-common portmap" > /var/cache/cloud/disabled_svcs
if [ $RROUTER -eq 1 ]
if [ "$RROUTER" -eq "1" ]
then
systemctl disable --now dnsmasq
systemctl enable conntrackd