Commit 78228e01 authored by David Johnson's avatar David Johnson

Re-run generated rc.linkdelay after reconfiguring the network.

parent d818b36b
......@@ -440,6 +440,13 @@ done
# Flush the routing cache
ip route flush cache
# Also re-run linkdelay setup; it got blown away. However, it should be
# properly restored by rc.linkdelaysetup on future boots.
if [ -e /var/emulab/boot/rc.linkdelay ]; then
echo "Restoring link shaping..."
/var/emulab/boot/rc.linkdelay
fi
#
# Set the hostname for later after reboot!
#
......
......@@ -467,6 +467,13 @@ ip route flush cache
# Just wait a bit
#sleep 8
# Also re-run linkdelay setup; it got blown away. However, it should be
# properly restored by rc.linkdelaysetup on future boots.
if [ -e /var/emulab/boot/rc.linkdelay ]; then
echo "Restoring link shaping..."
/var/emulab/boot/rc.linkdelay
fi
# Some services (neutron-ovs-cleanup) might lookup the hostname prior to
# network being up. We have to handle this here once at startup; then
# again later in the rc.hostnames hook below.
......
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