Merge "Break retry loop on success in dhcp-all-interfaces"

This commit is contained in:
Zuul 2019-12-03 21:56:18 +00:00 committed by Gerrit Code Review
commit 0b1eba25d5
2 changed files with 6 additions and 0 deletions

View File

@ -162,6 +162,7 @@ function inspect_interface() {
ipv6_init=True ipv6_init=True
ipv6_AdvManagedFlag=$(echo "$RA" | grep "Stateful address conf." | awk -F: '{ print $2 }') ipv6_AdvManagedFlag=$(echo "$RA" | grep "Stateful address conf." | awk -F: '{ print $2 }')
ipv6_AdvOtherConfigFlag=$(echo "$RA" | grep "Stateful other conf." | awk -F: '{ print $2 }') ipv6_AdvOtherConfigFlag=$(echo "$RA" | grep "Stateful other conf." | awk -F: '{ print $2 }')
break
elif [ $return_code -eq 1 ]; then elif [ $return_code -eq 1 ]; then
sleep 1 sleep 1
elif [ $return_code -eq 2 ]; then elif [ $return_code -eq 2 ]; then

View File

@ -0,0 +1,5 @@
---
fixes:
- |
The ``dhcp-all-interfaces`` element could not configure network interfaces
properly when ``rdisc6`` is present on the system