We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 585501a + 790266f commit bf5f588Copy full SHA for bf5f588
lib/neutron-legacy
@@ -834,6 +834,10 @@ function cleanup_neutron {
834
_move_neutron_addresses_route "$OVS_PHYSICAL_BRIDGE" "$PUBLIC_INTERFACE" False "inet"
835
836
if [[ $(ip -f inet6 a s dev "$OVS_PHYSICAL_BRIDGE" | grep -c 'global') != 0 ]]; then
837
+ # ip(8) wants the prefix length when deleting
838
+ local v6_gateway
839
+ v6_gateway=$(ip -6 a s dev $OVS_PHYSICAL_BRIDGE | grep $IPV6_PUBLIC_NETWORK_GATEWAY | awk '{ print $2 }')
840
+ sudo ip -6 addr del $v6_gateway dev $OVS_PHYSICAL_BRIDGE
841
_move_neutron_addresses_route "$OVS_PHYSICAL_BRIDGE" "$PUBLIC_INTERFACE" False "inet6"
842
fi
843
0 commit comments