From 6489a417aa8d43bd58ec0fd1268d0dd734b0073f Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 15 Feb 2022 18:44:58 +1100 Subject: Fix #966 - DeferredTranslation errors (#976) * Fix #966 * Add types to parameters * Update network configuration * Backwards compability for nic config * Update Co-authored-by: Daniel Girtler --- examples/guided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/guided.py') diff --git a/examples/guided.py b/examples/guided.py index 24db7eb4..23fd45a6 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -163,7 +163,7 @@ def perform_installation(mountpoint): # If user selected to copy the current ISO network configuration # Perform a copy of the config - if archinstall.arguments.get('nic', {}) == 'Copy ISO network configuration to installation': + if archinstall.arguments.get('nic', {}).get('type', '') == 'iso_config': installation.copy_iso_network_config(enable_services=True) # Sources the ISO network configuration to the install medium. elif archinstall.arguments.get('nic', {}).get('NetworkManager', False): installation.add_additional_packages("networkmanager") -- cgit v1.2.3-70-g09d2