mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-08 01:17:37 +03:00
inotify: network: detect "allow-auto" as "auto" synonym
> Note that "allow-auto" and "auto" are synonyms. -- man 5 interfaces Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
75a2a1c658
commit
0dcace5a6e
@ -906,7 +906,7 @@ sub __read_etc_network_interfaces {
|
||||
next if $line =~ m/^\s*#/;
|
||||
next if $line =~ m/^\s*(allow-hotplug)\s+(.*)$/;
|
||||
|
||||
if ($line =~ m/^\s*(auto|allow-ovs)\s+(.*)$/) {
|
||||
if ($line =~ m/^\s*(allow-auto|auto|allow-ovs)\s+(.*)$/) {
|
||||
|
||||
$ifaces->{$_}->{autostart} = 1 for split (/\s+/, $2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user