Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:46:22 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:46:22 +0530
commit47202d9bf94941659946470615a8c6e013e4643e (patch)
treef1d3a42f8c4ca7d2af18bba63b076ad3ebea021f /examples
parentdbb6d630bdfdb655a3567b8cebc5c6b82bb74459 (diff)
moved some stuff
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 015cc19d..02a39e8c 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -65,7 +65,6 @@ def ask_user_questions():
except archinstall.UnknownFilesystemFormat as err:
archinstall.log(f" {partition} (Filesystem not supported)", fg='red')
- archinstall.arguments["bootloader"] = archinstall.ask_for_bootloader()
# We then ask what to do with the partitions.
if (option := archinstall.ask_for_disk_layout()) == 'abort':
@@ -143,7 +142,7 @@ def ask_user_questions():
if (passwd := archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ')):
archinstall.arguments['!encryption-password'] = passwd
archinstall.arguments['harddrive'].encryption_password = archinstall.arguments['!encryption-password']
-
+ archinstall.arguments["bootloader"] = archinstall.ask_for_bootloader()
# Get the hostname for the machine
if not archinstall.arguments.get('hostname', None):
archinstall.arguments['hostname'] = input('Desired hostname for the installation: ').strip(' ')