mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 18:59:41 +00:00
nic hotplug: add_dhcp_mapping
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
89229af914
commit
e6e6c2934d
@ -5369,6 +5369,7 @@ sub vmconfig_update_net {
|
||||
if ($have_sdn) {
|
||||
PVE::Network::SDN::Vnets::add_next_free_cidr($newnet->{bridge}, $conf->{name}, $newnet->{macaddr}, $vmid, undef, 1);
|
||||
}
|
||||
PVE::Network::SDN::Vnets::add_dhcp_mapping($newnet->{bridge}, $newnet->{macaddr});
|
||||
vm_deviceplug($storecfg, $conf, $vmid, $opt, $newnet, $arch, $machine_type);
|
||||
} else {
|
||||
die "skip\n";
|
||||
|
Loading…
Reference in New Issue
Block a user