GitHub user weizhouapache added a comment to the discussion: IP Address 
assignment in L2 networks

You can use userdata in ConfigDrive to:
- Write network_data.json to the guest filesystem using `write_files`.
- Use `runcmd` to invoke `cloud-init devel net-convert` to generate network 
configuration from network_data.json.

For reference, see the [cloud-init documentation on network configuration 
tools](https://docs.cloud-init.io/en/latest/reference/network-config.html#network-configuration-tools).

GitHub link: 
https://github.com/apache/cloudstack/discussions/14541#discussioncomment-19301048

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to