Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 20:30:54 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 20:30:54 +0000
commit4d153c5bd1803657e9d1fb6189c36676736f8c68 (patch)
tree5ee04d07fcd86d711d953b3e86f24f1f92ac58f1 /archinstall/lib/profiles.py
parentf5aac7f24e823b8559deffd56c71cb89d7d142ff (diff)
Lowering MAC addresses for file-name comparison against local mac addresses in #62
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 2cf96eb2..1e2c1206 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -57,7 +57,7 @@ def list_profiles(filter_irrelevant_macs=True):
if os.path.splitext(profile)[1] == '.py':
tailored = False
if len(mac := re.findall('(([a-zA-z0-9]{2}[-:]){5}([a-zA-z0-9]{2}))', profile)):
- if filter_irrelevant_macs and mac[0][0] not in local_macs:
+ if filter_irrelevant_macs and mac[0][0].lower() not in local_macs:
continue
tailored = True