index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-11-09 17:16:25 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-11-09 17:16:25 +0100 |
commit | 07255391cc060f6ef8edf137f65044bbf940ba52 (patch) | |
tree | beb94f20fa203aeebf8ae817757986841d1df624 | |
parent | cd07dafaacec84954961fbbd8d6f4a2bc997410a (diff) |
-rw-r--r-- | examples/guided.py | 2 |
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): |