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.feeds@gmail.com>2021-03-08 17:21:23 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-08 17:21:23 +0100
commitf1cb3209ad9deb609d9fff35c52ec76027ceffb4 (patch)
tree5294ea362ebd8271ccd2b89f204fa9443308348d /examples
parent0306209f3a494b00bab6b89b07e8c009b4b3c581 (diff)
Tweaked the guided steps up until the installation.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/guided.py b/examples/guided.py
index fbdba776..91158f9a 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -290,16 +290,16 @@ with archinstall.Filesystem(archinstall.arguments['harddrive'], archinstall.GPT)
# First encrypt and unlock, then format the desired partition inside the encrypted part.
# archinstall.luks2() encrypts the partition when entering the with context manager, and
# unlocks the drive so that it can be used as a normal block-device within archinstall.
- with archinstall.luks2(harddrive.partition[1], 'luksloop', archinstall.arguments.get('!encryption-password', None)) as unlocked_device:
+ with archinstall.luks2(archinstall.arguments['harddrive'].partition[1], 'luksloop', archinstall.arguments.get('!encryption-password', None)) as unlocked_device:
unlocked_device.format(archinstall.arguments.get('filesystem', 'btrfs'))
perform_installation(unlocked_device,
- harddrive.partition[0],
+ archinstall.arguments['harddrive'].partition[0],
archinstall.arguments['keyboard-language'],
archinstall.arguments['mirror-region'])
else:
- harddrive.partition[1].format('ext4')
- perform_installation(harddrive.partition[1],
- harddrive.partition[0],
+ archinstall.arguments['harddrive'].partition[1].format('ext4')
+ perform_installation(archinstall.arguments['harddrive'].partition[1],
+ archinstall.arguments['harddrive'].partition[0],
archinstall.arguments['keyboard-language'],
archinstall.arguments['mirror-region']) \ No newline at end of file