cloud-init doesn't currently support providing networking configuration in user-data.
It does though allow providing network-config through the 'NoCloud' datasource (which uvtool uses).
So we could extend uvtool to add a '--network-config' parameter like it's user-data that would then put the provided 'network-config' into the 'seed'.
cloud-init doesn't currently support providing networking configuration in user-data.
It does though allow providing network-config through the 'NoCloud' datasource (which uvtool uses).
So we could extend uvtool to add a '--network-config' parameter like it's user-data that would then put the provided 'network-config' into the 'seed'.
The content of network-config is the format described at curtin. readthedocs. io/en/latest/ topics/ networking. html
http://
I'm going to open a uvtool task for this bug.
This woudl be nice function to have.
Sorry for the slow reply.