Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-13 10:37:30 +0200
committerAnton Hvornum <anton@hvornum.se>2021-06-13 10:37:30 +0200
commit9b6d7021a89116f09ad5324f19d7d08b9ec2856b (patch)
treeced4159a42f85a449c063d342f7b91dc3ee12a84 /examples/guided.py
parent8cc51cbcdc95de86385c570cf75b4ffaa746b4f1 (diff)
This fixes https://github.com/archlinux/archinstall/pull/426#discussion_r650372664
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 5a9f2b49..14cbe0a1 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -236,8 +236,7 @@ def perform_installation(mountpoint):
with archinstall.Installer(mountpoint, kernels=archinstall.arguments.get('kernels', 'linux')) as installation:
# Mount all the drives to the desired mountpoint
# This *can* be done outside of the installation, but the installer can deal with it.
- for drive in archinstall.arguments['harddrives']:
- installation.mount_ordered_layout(archinstall.storage['disk_layouts'][drive])
+ installation.mount_ordered_layout(archinstall.storage['disk_layouts'])
# if len(mirrors):
# Certain services might be running that affects the system during installation.