Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/minimal.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 17:46:20 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 17:46:20 +0000
commit9fc13d044972ff8cb35df61ea1946999b4253da1 (patch)
tree9d8e3b1a17d842a207674a5e918e59c80fc2c821 /examples/minimal.py
parent5ab238569ddfea342cc6e3b5650c52679a9a7f9a (diff)
Reflecting change in /boot change
Diffstat (limited to 'examples/minimal.py')
-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')