index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Thomas <9749173+uhthomas@users.noreply.github.com> | 2022-01-20 17:49:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 17:49:18 +0000 |
commit | 34488d25c57d39745ab5127ab992adcdb1b97d80 (patch) | |
tree | 4edeb9e01803335cdf90d58f0daf7e4d63a2513b /examples | |
parent | 671bf7595c44633db60ce3e139fcc4ccda891325 (diff) |
-rw-r--r-- | examples/guided.py | 4 |
diff --git a/examples/guided.py b/examples/guided.py index ea07c454..723fa629 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -219,11 +219,11 @@ def perform_installation(mountpoint): installation.set_hostname(archinstall.arguments['hostname']) if archinstall.arguments['mirror-region'].get("mirrors", None) is not None: installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium + if archinstall.arguments['swap']: + installation.setup_swap('zram') if archinstall.arguments["bootloader"] == "grub-install" and archinstall.has_uefi(): installation.add_additional_packages("grub") installation.add_bootloader(archinstall.arguments["bootloader"]) - if archinstall.arguments['swap']: - installation.setup_swap('zram') # If user selected to copy the current ISO network configuration # Perform a copy of the config |