mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-08 09:50:02 +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;
|
$p = $1;
|
||||||
$vlanid = $2;
|
$vlanid = $2;
|
||||||
delete $d->{'vlan-raw-device'} if $d->{'vlan-raw-device'};
|
delete $d->{'vlan-raw-device'} if $d->{'vlan-raw-device'};
|
||||||
|
delete $d->{'vlan-id'} if $d->{'vlan-id'};
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
die "missing vlan-raw-device option" if !$d->{'vlan-raw-device'};
|
die "missing vlan-raw-device option" if !$d->{'vlan-raw-device'};
|
||||||
$p = $d->{'vlan-raw-device'};
|
$p = $d->{'vlan-raw-device'};
|
||||||
|
Loading…
Reference in New Issue
Block a user