ConfigDrive - How to configure static networking?
Using the ConfigDrive service, how do I go about statically configuring the NIC on my Windows instance?
I've tried creating a metadata.json file that points to /contents/0000 with a file called "networkconfig". However it doesn't seem to be picked up.
Let's assume the following details: iface eth0 inet static address 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255 gateway 10.0.0.1 dns-nameservers 8.8.8.8
How should I properly create the ConfigDrive's folder and file structure such that the Windows instance will be configured with the above details?
Please help me to understand the structure and the JSON contents...
/openstack/latest - meta_data.json
/openstack/content/0000 - network_config