forked from canonical/cloud-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/network_manager: do not set "may-fail" to False for both ipv6 and…
… ipv6 If "may-fail" set set to False in the Network Manager keyfile for both ipv4 and ipv6, it essentially means both ipv4 and ipv6 network initialization must succeed for the overall network configuration to succeed. This means, for environments where only ipv4 or ipv6 is available but not both, the overall network configuration will fail. This is not what we want. When both ipv4 and ipv6 are configured, it is enough for the overall configuration to succeed if any one succeeds. Therefore, set "may-fail" to True when both ipv4 and ipv6 are configured in the Network Manager keyfile for both ipv4 and ipv6. Please see discussions in PR canonical#4474. Signed-off-by: Ani Sinha <anisinha@redhat.com>
- Loading branch information
Showing
2 changed files
with
61 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters