mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-03 22:56:43 +00:00
Inotify: delete vlan-id for "iface.X" vlan iface.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
63d0f1ff3e
commit
9ca89b8722
@ -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'};
|
||||
|
Loading…
Reference in New Issue
Block a user