Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/minimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/minimal.py b/examples/minimal.py
index 195ee60c..203fa94e 100644
--- a/examples/minimal.py
+++ b/examples/minimal.py
@@ -19,9 +19,9 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
with archinstall.luks2(harddrive.partition[1], 'luksloop', disk_password) as unlocked_device:
unlocked_device.format('btrfs')
- with archinstall.Installer(unlocked_device, hostname='testmachine') as installation:
+ with archinstall.Installer(unlocked_device, boot_partition=harddrive.partition[0], hostname='testmachine') as installation:
if installation.minimal_installation():
- installation.add_bootloader(harddrive.partition[0])
+ installation.add_bootloader()
installation.add_additional_packages(['nano', 'wget', 'git'])
installation.install_profile('workstation')