]> git.proxmox.com Git - pve-container.git/commit
sdn: pass vmid and hostname to add_dhcp_mapping
authorStefan Lendl <s.lendl@proxmox.com>
Tue, 21 Nov 2023 14:55:55 +0000 (15:55 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 19:56:09 +0000 (20:56 +0100)
commitc6cff6990956880a228c368877cd319b48dd2c31
tree2555ad93dde5c8ee119fc66da0e179df9d581153
parentbb2f6f7214bce2ec70f84759d3ce1c6aca3da02c
sdn: pass vmid and hostname to add_dhcp_mapping

If no DHCP mapping was found in IPAM it will request a new IP.
In order to register an IPAM mapping it requires these values.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
src/PVE/LXC.pm
src/lxc-pve-prestart-hook