Cross-platform instance initialization
Go to file
Lukas Kranz 04c642408b 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: https://github.com/cloudbase/cloudbase-init/issues/101

Change-Id: I6b05b313742dd6ff2553dd67b374a8aa4fefd0a7
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-04-22 09:10:48 +03:00
.github/workflows github_actions: add windows and functional testing 2023-11-10 15:00:33 +02:00
cloudbaseinit Use MSFT_NetAdapter to rename adapter 2024-04-22 09:10:48 +03:00
doc docs: update network config v1 document url 2024-04-04 18:05:56 +03:00
etc/cloudbase-init Add support for generating cloudbase-init configuration sample 2016-09-02 11:19:59 +03:00
releasenotes Updates tox.ini's cover environment 2018-10-05 08:14:04 -07:00
.coveragerc Updates tox.ini's cover environment 2018-10-05 08:14:04 -07:00
.gitattributes Normalize line endings 2014-02-09 21:41:45 +02:00
.gitignore Add .vscode dir to .gitignore 2018-09-03 13:11:06 +03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:51:38 +00:00
.readthedocs.yaml readthedocs: add configuration file 2024-03-04 14:25:17 +02:00
.stestr.conf github_actions: add windows and functional testing 2023-11-10 15:00:33 +02:00
.testr.conf Fixes requirements on Linux 2014-10-05 22:20:58 +03:00
.zuul.yaml python 3.11: run tests on github and opendev 2023-11-09 15:41:53 +02:00
LICENSE Adds LICENSE file 2013-10-04 00:07:58 +03:00
README.rst Updates project repo to openstack 2015-10-19 01:17:26 +03:00
requirements.txt requirements: add missing pytz package 2024-03-04 13:01:54 +02:00
setup.cfg Bump version to 1.1.5 2023-02-14 17:30:02 +02:00
setup.py Update pbr version requirements 2017-05-23 13:45:54 +03:00
test-requirements.txt Fix Python 3 unit tests 2020-09-30 15:14:05 +03:00
tox.ini Replace the old UPPER_CONSTRAINTS_FILE env 2024-03-04 11:36:30 +00:00