Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index 638ac08a..d207f4dc 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -230,6 +230,8 @@ def post_process_arguments(arguments):
if not json_stream_to_structure('--disk_layouts',arguments['disk_layouts'],layout_storage):
exit(1)
else:
+ if arguments.get('harddrives') is None:
+ arguments['harddrives'] = [disk for disk in layout_storage]
# backward compatibility. Change partition.format for partition.wipe
for disk in layout_storage:
for i,partition in enumerate(layout_storage[disk].get('partitions',[])):