Simple creation of ifcfg from network_data.json from ConfigDrive DS
This is a much simpler version of Huawei's bms-network-config, which can do a lot more.
This script is simple and does nothing more than writing out ifcfg-* files from the network_data.json configuration.
It is designed to coexist with cloud-init.
It should be started before the network is brought up and before cloud-init-local runs.
It will then look for a config-2 drive metadata source and openstack/latest/network_data.json there.
If this is not found, the script will exit.
Otherwise it creates the network config files, disables the cloud-init-local script and the config drive data source (it is not correct on OTC, unfortunately).
The distro's network setup scripts will then bring up the network successfully, so cloud-init can retrieve the network OpenStack datasource and configure the instance correctly.
-
2
derived packages
- Links to home:garloff:OTC / bms-network-setup
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout Cloud:OTC:Tools/bms-network-setup && cd $_
- Create Badge
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
_service | 0000000483 483 Bytes | |
_service:recompress:tar_scm:bms-network-setup-1.11 |
0000010574 10.3 KB | |
bms-before-nm.diff | 0000000513 513 Bytes | |
bms-delay-setup.diff | 0000000543 543 Bytes | |
bms-multi-user.diff | 0000000372 372 Bytes | |
bms-network-setup.changes | 0000011842 11.6 KB | |
bms-network-setup.dsc | 0000000305 305 Bytes | |
bms-network-setup.spec | 0000005700 5.57 KB | |
bms-no-ifcfg-lan.diff | 0000000491 491 Bytes | |
debian.changelog | 0000009335 9.12 KB | |
debian.compat | 0000000002 2 Bytes | |
debian.control | 0000000598 598 Bytes | |
debian.postinst | 0000000337 337 Bytes | |
debian.postrm | 0000000068 68 Bytes | |
debian.rules | 0000002436 2.38 KB | |
debian.series | 0000000000 0 Bytes |
Comments 0