Commit af02ccb7 authored by David Johnson's avatar David Johnson

Hook name is route-pre-down, not route-down.

parent 944afce4
......@@ -230,7 +230,7 @@ ns-cert-type server
verb 3
route-up "/etc/openvpn/$"
route-down "/etc/openvpn/$"
route-pre-down "/etc/openvpn/$"
# Note that because we have to pack multiple aggregates onto ctlnuc
......@@ -263,7 +263,7 @@ ifconfig br\$VTAG $agg_gw netmask $agg_mask up
ip route add $agg_cidr dev br\$VTAG table $aggprefix
chmod 755 /etc/openvpn/clients/$
cat <<EOF > /etc/openvpn/clients/$
cat <<EOF > /etc/openvpn/clients/$
VNODES=\`/usr/local/etc/emulab/tmcc vnodelist | sed -nre 's/^VNODEID=(pcvm[0-9]*-[0-9]*) .*$/\1/p' | xargs\`
......@@ -283,7 +283,7 @@ ip rule del iif tun-$aggprefix to $agg_cidr table $aggprefix
ip route flush table $aggprefix
ifconfig br\$VTAG 0 up
chmod 755 /etc/openvpn/clients/$
chmod 755 /etc/openvpn/clients/$
# Ok, copy the key/crts/conf files to the agg host
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