Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index af811465..c4b64912 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -225,10 +225,9 @@ def load_config():
if arguments.get('servers', None) is not None:
storage['_selected_servers'] = arguments.get('servers', None)
- if arguments.get('nic', None) is not None:
- handler = models.NetworkConfigurationHandler()
- handler.parse_arguments(arguments.get('nic'))
- arguments['nic'] = handler.configuration
+ if arguments.get('network_config', None) is not None:
+ config = NetworkConfiguration.parse_arg(arguments.get('network_config'))
+ arguments['network_config'] = config
if arguments.get('!users', None) is not None or arguments.get('!superusers', None) is not None:
users = arguments.get('!users', None)