Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-20 17:12:53 +0100
committerAnton Hvornum <anton@hvornum.se>2021-03-20 17:12:53 +0100
commit61504fc9270c24cac088bbf18fb6d623462ce790 (patch)
treea730bc635f7f716d96f469b9c84a59302e6f6a8e /examples
parent54200bf476d004721a03c89ce1916fc7c79124a2 (diff)
Fixed #101. Now warns the users after they skip the network configuration.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 87f46b35..655fc29f 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -187,6 +187,8 @@ def ask_user_questions():
# Ask or Call the helper function that asks the user to optionally configure a network.
if not archinstall.arguments.get('nic', None):
archinstall.arguments['nic'] = archinstall.ask_to_configure_network()
+ if not archinstall.arguments['nic']:
+ archinstall.log(f"No network configuration was selected. Network is going to be unavailable until configured manually!", fg="yellow")
def perform_installation_steps():