Ubuntu Cloud Init: Setting DNS not working

mira

Proxmox Staff Member
Staff member
Aug 1, 2018
1,837
211
83
This might have worked in previous versions of cloud-init.
I assume the image you're using has cloud-init 22.1 or 22.2 installed?
 

Vengance

Active Member
May 21, 2016
207
8
38
32
This might have worked in previous versions of cloud-init.
I assume the image you're using has cloud-init 22.1 or 22.2 installed?
Yes, 22.2-0ubuntu1~22.04.2


Edit:
Also checked on Debian 11.3:
/usr/bin/cloud-init 20.4.1

So it might actually be version related.
But that also means Debian will have the same problem at some point
 
Last edited:

mira

Proxmox Staff Member
Staff member
Aug 1, 2018
1,837
211
83
Yes, 22.2-0ubuntu1~22.04.2


Edit:
Also checked on Debian 11.3:
/usr/bin/cloud-init 20.4.1

So it might actually be version related.
But that also means Debian will have the same problem at some point
Not necessarily if it is a renderer issue, rather than an issue with the source.

I am having the exact same issue.
Did you find a way to solve it ?
For now the workaround would be to manually create a network config for cloud-init [0] using the network configuration v2 format [1].


[0] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_cloud_init
[1] https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!