Cloudinit disable dhcp6 and accept-ra

Wered

Active Member
Feb 26, 2017
8
1
43
30
Im currently running proxmox 7.3. When provisioning Ubuntu VMs (20.04/22.04) the vms auto assign IPv6 addresses in addition to the ones defined in cloudinit. This makes it a bit difficult to manage firewall rules and such. Is there a way to adjust the cloudinit image proxmox generates to include "dhcp6: no", and "accept-ra: no" in the netplan config?
 
  • Like
Reactions: DerDanilo
Proxmox native Cloudinit support is basic, on purpose. You will likely need to use a full custom Cloudinit to achieve your goal. It may also be possible to build a template in such way that these settings are pre-configured, so that native Cloudinit can still be used. You will need to experiment with that.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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 yours easily in our online shop.

Buy now!