Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/scripts
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-05-04 00:37:55 +1000
committerGitHub <noreply@github.com>2023-05-03 16:37:55 +0200
commit2d06cf592a15e69911ffa82e7d86d832bf8ca89c (patch)
tree041caf4405d5cdf0dc99987815b8b25d154011ad /archinstall/scripts
parentec4ecbcb7a839ab06b739f01ce42bfd18376c620 (diff)
Fix 1772 (#1773)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/scripts')
-rw-r--r--archinstall/scripts/guided.py5
-rw-r--r--archinstall/scripts/swiss.py5
2 files changed, 8 insertions, 2 deletions
diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py
index 48d141b7..6419c1dc 100644
--- a/archinstall/scripts/guided.py
+++ b/archinstall/scripts/guided.py
@@ -181,7 +181,10 @@ def perform_installation(mountpoint: Path):
if network_config:
handler = NetworkConfigurationHandler(network_config)
- handler.config_installer(installation)
+ handler.config_installer(
+ installation,
+ archinstall.arguments.get('profile_config', None)
+ )
if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
installation.add_additional_packages(archinstall.arguments.get('packages', None))
diff --git a/archinstall/scripts/swiss.py b/archinstall/scripts/swiss.py
index 34e4c022..2712807a 100644
--- a/archinstall/scripts/swiss.py
+++ b/archinstall/scripts/swiss.py
@@ -236,7 +236,10 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode):
if network_config:
handler = models.NetworkConfigurationHandler(network_config)
- handler.config_installer(installation)
+ handler.config_installer(
+ installation,
+ archinstall.arguments.get('profile_config', None)
+ )
if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
installation.add_additional_packages(archinstall.arguments.get('packages', []))