X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FINotify.pm;h=2bb87bb2dd71e79057dcaa2da391316686e7bc23;hp=84fdc6660366b4f0004b814afb5dc353e3548cfa;hb=9ca89b8722fb9656b5deaca037f0612aab3170e4;hpb=63d0f1ff3e8c7b46ae5deb14c7b52a9d4de6a0a4 diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index 84fdc66..2bb87bb 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1554,6 +1554,8 @@ sub __write_etc_network_interfaces { $p = $1; $vlanid = $2; delete $d->{'vlan-raw-device'} if $d->{'vlan-raw-device'}; + delete $d->{'vlan-id'} if $d->{'vlan-id'}; + } else { die "missing vlan-raw-device option" if !$d->{'vlan-raw-device'}; $p = $d->{'vlan-raw-device'};