Commit b82c5e67 authored by David Johnson's avatar David Johnson

Ensure Emulab virt control routing hack works both ways.

parent f8f016fd
......@@ -21,9 +21,12 @@ fi
logtstart "driver"
# Hack for Emulab
grep -q 155.98 /var/emulab/boot/bossip \
&& ip -br address show eth0 | grep '172\.' \
&& route add -net dev eth0
grep -q 155.98 /var/emulab/boot/bossip
if [ $? -eq 0 ]; then
controlif=`cat /var/emulab/boot/controlif`
ip route add dev $controlif
ip route add dev $controlif
echo "*** Setting up root ssh pubkey access across all nodes..."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment