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.
> 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 /linuxcontainer s.org/lxd/ docs/master/ cloud-init/ #custom- network- configuration
[2] https:/