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@hvornum.se>2021-11-05 22:03:24 +0100
committerAnton Hvornum <anton@hvornum.se>2021-11-05 22:03:24 +0100
commita5730dec856d4265667283e9ef8b9227db069a84 (patch)
treed725921bde3f0d7986391692ac329a53f813dc0c /examples
parentf1422d955fc793886c7f7b0f3906f8a2169d8d9e (diff)
Misspelled variable name
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 4bbe94ca..f5fa1542 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -127,7 +127,7 @@ def ask_user_questions():
archinstall.arguments["bootloader"] = archinstall.ask_for_bootloader()
if not archinstall.arguments.get('swap', None):
- archinstall.archinstall['swap'] = archinstall.ask_for_swap()
+ archinstall.arguments['swap'] = archinstall.ask_for_swap()
# Get the hostname for the machine
if not archinstall.arguments.get('hostname', None):
@@ -271,7 +271,7 @@ def perform_installation(mountpoint):
if archinstall.arguments["bootloader"] == "grub-install" and archinstall.has_uefi():
installation.add_additional_packages("grub")
installation.add_bootloader(archinstall.arguments["bootloader"])
- if archinstall.archinstall['swap']:
+ if archinstall.arguments['swap']:
installation.setup_swap('zram')
# If user selected to copy the current ISO network configuration