-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use MSFT_NetAdapter to rename adapter
Currently renaming the adapter on windows 22 core does not cause an error but also has no effect INFO cloudbaseinit.plugins.common.networkconfig [-] Renaming network adapter "Ethernet" to "some-adapter-name" ... ERROR cloudbaseinit.init cloudbaseinit.exception.ItemNotFoundException: Network interface with name "some-adapter-name" not found Using Win32_NetworkAdapter or netsh for renaming network adapters does not work, although they do not fail, but do no-operation (probably a Windows bug). Fixes: #101 Change-Id: I6b05b313742dd6ff2553dd67b374a8aa4fefd0a7 Signed-off-by: Adrian Vladu <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
21 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