-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Network: Parse host physical NIC MAC address for storing in device co…
…nfiguration (#14905) Fixes #14879. This PR adds parsing of the host physical NIC MAC address, allowing `agent.nic_config` to be set to `true` for physical NIC devices. I've also updated the metadata and included a small completion fix for a bug I discovered while testing this. Summary of changes: - Fixes conditional completions for `lxc config device add`. - Updates metadata for physical NIC `hwaddr` config key. - Updates the physical NIC `Start` method to retrieve host physical NIC MAC address and store in device config (for use in `addNetDevConfig` -> `writeNICDevConfig`).
- Loading branch information
Showing
5 changed files
with
24 additions
and
6 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
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
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