Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-05 20:47:42 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-05 20:47:42 +0530
commite2a6a85d66ef0d43c5bb941d9ec945c854f45849 (patch)
tree956ec712538922517d1b0e5b7965073489abe9fd
parent4c0c95a88cca796fa5f27ef53812348a1bc32624 (diff)
Revert "Fixed issue with no network configueration"
This reverts commit dbe7f3fcb8fa71d14bb27a9963d841cc12007117.
-rw-r--r--examples/guided.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index ee8c5d57..1a1cf84c 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -317,9 +317,6 @@ def perform_installation(device, boot_partition, language, mirrors):
# Perform a copy of the config
if archinstall.arguments.get('nic', None) == 'Copy ISO network configuration to installation':
installation.copy_ISO_network_config(enable_services=True) # Sources the ISO network configuration to the install medium.
- elif archinstall.arguments.get('nic',None) == None:
- #skip if we don't have a network
- pass
elif archinstall.arguments.get('nic',{}).get('NetworkManager',False):
installation.add_additional_packages("networkmanager")
installation.enable_service('NetworkManager.service')
@@ -329,6 +326,7 @@ def perform_installation(device, boot_partition, language, mirrors):
installation.enable_service('systemd-networkd')
installation.enable_service('systemd-resolved')
+
if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
installation.add_additional_packages(archinstall.arguments.get('packages', None))