Skip to content

Commit 29ba71f

Browse files
committed
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>
2 parents ccb4fe0 + 2a88b11 commit 29ba71f

File tree

1 file changed

+4
-1
lines changed
  • systemvm/patches/debian/config/etc

1 file changed

+4
-1
lines changed

systemvm/patches/debian/config/etc/rc.local

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ then
4242
echo 1000000 > /proc/sys/net/nf_conntrack_max
4343
fi
4444

45-
python /opt/cloud/bin/baremetal-vr.py &
45+
if [ "$router" != "" ]
46+
then
47+
python /opt/cloud/bin/baremetal-vr.py &
48+
fi
4649

4750
date > /var/cache/cloud/boot_up_done
4851
logger -t cloud "Boot up process done"

0 commit comments

Comments
 (0)