forked from canonical/subiquity
-
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.
network: auto-disable dead interfaces on configure
It's possible that clients do not interact with the network controller - even if the controller is interactive - and simply mark the controller as configured (currently the desktop installer does this). Subiquity's policy is to disable interfaces without a global IP address by the time the network screen is shown. However, other than special handling for autoinstall cases, this logic is only invoked the first time the screen is shown. This makes sure the config written to the target device adheres to policy. This change purposefully does not apply the config in the live environment. It's likely Desktop does not interact with the network controller to avoid interactions between networkd and NetworkManager. Handling of this logic should be for future commits. (cherry picked from commit e22946c)
- Loading branch information
1 parent
b27e35c
commit 2ffce2e
Showing
2 changed files
with
69 additions
and
1 deletion.
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