diff --git a/systemvm/patches/debian/config/etc/rc.local b/systemvm/patches/debian/config/etc/rc.local index 18e7cd1d43b..3b19218cdc9 100755 --- a/systemvm/patches/debian/config/etc/rc.local +++ b/systemvm/patches/debian/config/etc/rc.local @@ -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"