mirror of https://github.com/apache/cloudstack.git
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:
parent
bfe4cb0c41
commit
9288c64e5f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue