Hello,
I have spent hours googling and AI with no luck. I am trying to create a custom cloud init for my debian 13 genericcloud image. I created two files, the user and the network. It looks like the user one is working, well as much as I can tell. The networking file just wont bring up the dhcp network. So what I did was use the default proxmox cloud init and then dumped their network config. Here is what we get:
Looks pretty straight forward, so I thought I would copy t his format. However, proxmox injects the mac address that it assigns. But I can't do that as I don't know it. So I am not sure what to do here? Do I just remove the name and mac address entries and then just let it create its own interface name? If any one has examples of working snippets I would be eternally grateful.
TY
I have spent hours googling and AI with no luck. I am trying to create a custom cloud init for my debian 13 genericcloud image. I created two files, the user and the network. It looks like the user one is working, well as much as I can tell. The networking file just wont bring up the dhcp network. So what I did was use the default proxmox cloud init and then dumped their network config. Here is what we get:
Code:
root@pve0:~# qm cloudinit dump 101 network
version: 1
config:
- type: physical
name: eth0
mac_address: 'bc:24:11:de:4f:11'
subnets:
- type: dhcp4
- type: nameserver
address:
- '192.168.0.1'
- '1.1.1.1'
search:
- 'vm.local'
Looks pretty straight forward, so I thought I would copy t his format. However, proxmox injects the mac address that it assigns. But I can't do that as I don't know it. So I am not sure what to do here? Do I just remove the name and mac address entries and then just let it create its own interface name? If any one has examples of working snippets I would be eternally grateful.
TY