Merge pull request #810 from tsunghanliu/lp1890397

Ignore CAN and unknown interfaces (LP: #1890397)
This commit is contained in:
Michael Hudson-Doyle 2020-08-12 22:37:41 +12:00 committed by GitHub
commit 0b93bafdac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@ from subiquitycore.gettext38 import pgettext
from subiquitycore import netplan
NETDEV_IGNORED_IFACE_TYPES = ['lo', 'bridge', 'tun', 'tap', 'dummy', 'sit']
NETDEV_IGNORED_IFACE_TYPES = [
'lo', 'bridge', 'tun', 'tap', 'dummy', 'sit', 'can', '???'
]
NETDEV_ALLOWED_VIRTUAL_IFACE_TYPES = ['vlan', 'bond']