CLOUDSTACK-9336 surround the execution of baremetal-vr.py with condition

This commit is contained in:
dahn 2016-04-05 13:28:39 +02:00
parent 419f8fba63
commit 2a88b11132

View File

@ -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"