[pve-devel] [PATCH pve-network 1/1] ipam: netbox: fix adding vms without a name set in the options

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 8 15:29:20 CEST 2025


Am 08.04.25 um 15:25 schrieb Stefan Hanreich:
> The hostname provided to the methods in the IPAM plugins is empty for
> VMs that do not have a name set. We always included the dns_name key
> in the request, even if it was undefined, which leads Netbox to return
> a 400 Bad Request error. With this patch we omit the dns_name
> parameter if it isn't set, so the call succeeds.

We default to "CT${VMID}" and "VM${VMID}" in that case though everywhere
such a hostname is required, that does not make sense here, or?




More information about the pve-devel mailing list