Revert default automatic hostname in user_config.json, I realized it's better to use --silent than forcing something in there. Some users might want to get poked on every machine.

This commit is contained in:
Anton Hvornum 2021-11-09 17:20:48 +01:00
parent 07255391cc
commit d1716eeeef
1 changed files with 0 additions and 2 deletions

View File

@ -132,8 +132,6 @@ 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):