Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/guided.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index b1c34464..4a942fe0 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -132,6 +132,8 @@ def ask_user_questions():
# Get the hostname for the machine
if not archinstall.arguments.get('hostname', None):
archinstall.arguments['hostname'] = input('Desired hostname for the installation: ').strip(' ')
+ if not archinstall.arguments['hostname']:
+ archinstall.arguments['hostname'] = "archinstall"
# Ask for a root password (optional, but triggers requirement for super-user if skipped)
if not archinstall.arguments.get('!root-password', None):