New Question

Revision history [back]

click to hide/show revision 1
initial version

With some hacking around, I was able to answer my own question.

Presently the networkconfig piece requires the following: - a "networkconfig" element in the JSON document - a "contentpath" key as a child of the "networkconfig" element that has a string to a file containing the debian formatted network configuration file - the aforementioned configuration file located at /openstack/content/<configuration file="" name="">

My example JSON: { "uuid": "fake-UUID", "hostname": "hostname", "networkconfig":{ "contentpath": "/content/0000/network_config" } }

Contents of the network_config file: iface eth0 inet static address netmask broadcast gateway dns-nameservers

Things of note: - the "0000" in the contentpath is ignored due to the split function in the code. I have submitted a pull request in github with a change that will correct this issue. - for the time being, I recommend placing the "networkconfig" file in the full path /openstack/content/0000/networkconfig and /openstack/content/networkconfig of your filesystem's data structure.