mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9336 surround the execution of baremetal-vr.py with condition
This commit is contained in:
parent
419f8fba63
commit
2a88b11132
|
|
@ -42,7 +42,10 @@ then
|
|||
echo 1000000 > /proc/sys/net/nf_conntrack_max
|
||||
fi
|
||||
|
||||
python /opt/cloud/bin/baremetal-vr.py &
|
||||
if [ "$router" != "" ]
|
||||
then
|
||||
python /opt/cloud/bin/baremetal-vr.py &
|
||||
fi
|
||||
|
||||
date > /var/cache/cloud/boot_up_done
|
||||
logger -t cloud "Boot up process done"
|
||||
|
|
|
|||
Loading…
Reference in New Issue