Cross-platform instance initialization
Go to file
Lucian Petrut e17488c239 Drop netifaces dependency
The netifaces library is no longer maintained, which is why we
need to drop this dependency.

There is only one place in which netifaces is being used, a
trivial function that retrives the mac address for a given ip
address.

Thankfully, we already have a cloudbase-init "get_adapter_addresses"
function that uses ctypes to call GetAdaptersAddresses, which
happens to be the same Windows function used by netifaces.

Worth mentioning that netifaces is the only compilable cloudbase-init
dependency that does not provide a wheel package.

Fixes: https://github.com/cloudbase/cloudbase-init/issues/140
Change-Id: Ie52ff722cbf42da7b9bfa9f9942adc1996ce5dd8
2024-11-28 12:13:14 +02:00
.github/workflows python: drop support for 3.8 2024-11-27 13:41:28 +02:00
cloudbaseinit Drop netifaces dependency 2024-11-28 12:13:14 +02:00
doc Support datasource specific instance metadata 2024-11-27 12:29:50 +00: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 Drop netifaces dependency 2024-11-28 12:13:14 +02:00
setup.cfg python: drop support for 3.8 2024-11-27 13:41:28 +02:00
setup.py Update pbr version requirements 2017-05-23 13:45:54 +03:00
test-requirements.txt unit_tests: fix test requirements for windows 2024-11-27 12:03:39 +02:00
tox.ini unit_tests: fix test requirements for windows 2024-11-27 12:03:39 +02:00