[pve-devel] [PATCH] add vlan aware ifupdown script v3

Dietmar Maurer dietmar at proxmox.com
Wed Jul 29 07:27:31 CEST 2015


> > -      if [[ $port =~ ^(eth|bond|wlan)[0-9]{1,2}$ ]]
> > +      if [[ $port =~ "^(eth|bond|wlan)[0-9]{1,2}$" ]]
> 
> OK, this does not work because dash does not have [[ ]] syntax,
> and 'test' have no regex support.

Do we really need that regex? What if we simply use all ports?




More information about the pve-devel mailing list