Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/interactive_installation.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/interactive_installation.py')
-rw-r--r--examples/interactive_installation.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/interactive_installation.py b/examples/interactive_installation.py
index ce1a80ec..8e82ca7e 100644
--- a/examples/interactive_installation.py
+++ b/examples/interactive_installation.py
@@ -61,7 +61,7 @@ def ask_user_questions():
global_menu.enable('parallel downloads')
# Ask or Call the helper function that asks the user to optionally configure a network.
- global_menu.enable('nic')
+ global_menu.enable('network_config')
global_menu.enable('timezone')
@@ -137,11 +137,10 @@ def perform_installation(mountpoint: Path):
# 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)
)