Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/scripts/swiss.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/scripts/swiss.py')
-rw-r--r--archinstall/scripts/swiss.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/archinstall/scripts/swiss.py b/archinstall/scripts/swiss.py
index 375458a1..a2ab0549 100644
--- a/archinstall/scripts/swiss.py
+++ b/archinstall/scripts/swiss.py
@@ -95,7 +95,7 @@ class SwissMainMenu(GlobalMenu):
options_list = [
'mirror_config', 'disk_config',
'disk_encryption', 'swap', 'bootloader', 'hostname', '!root-password',
- '!users', 'profile_config', 'audio', 'kernels', 'packages', 'additional-repositories', 'nic',
+ '!users', 'profile_config', 'audio', 'kernels', 'packages', 'additional-repositories', 'network_config',
'timezone', 'ntp'
]
@@ -110,7 +110,7 @@ class SwissMainMenu(GlobalMenu):
options_list = [
'mirror_config','bootloader', 'hostname',
'!root-password', '!users', 'profile_config', 'audio', 'kernels',
- 'packages', 'additional-repositories', 'nic', 'timezone', 'ntp'
+ 'packages', 'additional-repositories', 'network_config', 'timezone', 'ntp'
]
mandatory_list = ['hostname']
@@ -222,11 +222,10 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode):
# If user selected to copy the current ISO network configuration
# Perform a copy of the config
- network_config = archinstall.arguments.get('nic', None)
+ network_config = archinstall.arguments.get('network_config', None)
if network_config:
- handler = models.NetworkConfigurationHandler(network_config)
- handler.config_installer(
+ network_config.install_network_config(
installation,
archinstall.arguments.get('profile_config', None)
)