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-10-22 21:54:16 +0200
committerAnton Hvornum <anton@hvornum.se>2021-10-22 21:54:16 +0200
commit7149b76f3bd3163938fe7413546e5f678f98851f (patch)
tree7c6768ea65799387a9b1b2dc5a2c0b7212e9e785 /examples
parent8b96080ec81939f3a69c28585c21c43e496d087b (diff)
Forgot some imports that didn't show up on a static run without going through a few of the menu's
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index b7c75b30..2efb4972 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -140,7 +140,7 @@ def ask_user_questions():
# Ask for a root password (optional, but triggers requirement for super-user if skipped)
if not archinstall.arguments.get('!root-password', None):
- archinstall.arguments['!root-password'] = archinstall.get_password(prompt='Enter root password (Recommendation: leave blank to leave root disabled): ')
+ archinstall.arguments['!root-password'] = archinstall.get_password(prompt='Enter root password (leave blank to disable disabled & create superuser): ')
# Ask for additional users (super-user if root pw was not set)
@@ -245,9 +245,9 @@ def perform_filesystem_operations():
Setup the blockdevice, filesystem (and optionally encryption).
Once that's done, we'll hand over to perform_installation()
"""
- mode = archinstall.GPT
+ mode = archinstall.disk.GPT
if has_uefi() is False:
- mode = archinstall.MBR
+ mode = archinstall.disk.MBR
for drive in archinstall.arguments['harddrives']:
with archinstall.Filesystem(drive, mode) as fs: