[pve-devel] [PATCH pve-common] Inotify: delete vlan-id for "iface.X" vlan iface.
Alexandre Derumier
aderumier at odiso.com
Thu Nov 26 10:18:46 CET 2020
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
src/PVE/INotify.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm
index 676dcc6..54f4031 100644
--- a/src/PVE/INotify.pm
+++ b/src/PVE/INotify.pm
@@ -1557,6 +1557,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'};
--
2.20.1
More information about the pve-devel
mailing list