Comment 1 for bug 2004131

Revision history for this message
Brett Holman (holmanb) wrote :

> resolv_conf:

You don't want to use that module on Ubuntu 22.04. Note the distro list[1] doesn't contain Ubuntu as a supported distro.

> network:

Do I understand correctly that you put this network config in user.vendor-data?

Lxd uses a different key for network, see cloud-init.network-config in lxd's docs [2]. This should be better documented in cloud-init, which doesn't document network configuration of this datasource at all.

[1] https://cloudinit.readthedocs.io/en/latest/reference/modules.html#resolv-conf
[2] https://linuxcontainers.org/lxd/docs/master/cloud-init/#custom-network-configuration