Merge pull request #1463 from DaanHoogland/CLOUDSTACK-9336

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

* pr/1463:
  CLOUDSTACK-9336 surround the execution of baremetal-vr.py with condition

Signed-off-by: Will Stevens <williamstevens@gmail.com>
This commit is contained in:
Will Stevens 2016-05-04 10:29:14 -04:00
commit 29ba71f2db
1 changed files with 4 additions and 1 deletions

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"