-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
networkd(vlan): remove the interface in addition to config (#468)
By only removing the configuration file and reloading it will not remove the actual interface, for that we need to ask networkd to actively remove the interface for us. In order to maintain consistency of what's presend on disk and the MDS representation + guest agent state we are forcing the removal of the interface first and then removing the config, in case of error during networkctl call we keep using the on disk state to determine what to remove/keep.
- Loading branch information
Showing
1 changed file
with
24 additions
and
5 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