index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-03-09 11:44:17 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-03-09 11:44:17 +0100 |
commit | 586f8bc32ef81695f31f10f41472443ad5f280cd (patch) | |
tree | 992b50e4fe584e0c7beb49ce1f6a0396d5b4eaff | |
parent | 3b849ca07462dd80734373b3428cd0e128812f60 (diff) |
-rw-r--r-- | examples/guided.py | 6 |
diff --git a/examples/guided.py b/examples/guided.py index 722e1e36..3f57ec88 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -137,6 +137,12 @@ if archinstall.arguments['harddrive'].has_partitions(): while 1: new_filesystem = input(f"Enter a valid filesystem for {partition} (leave blank for {partition.filesystem}): ").strip(' ') if len(new_filesystem) <= 0: + if partition.encrypted and partition.filesystem == 'crypto_LUKS': + if (autodetected_filesystem := partition.detect_inner_filesystem(archinstall.arguments.get('!encryption-password', None))): + else: + archinstall.log(f"Could not auto-detect the filesystem inside the encrypted volume.", fg='red') + archinstall.log(f"A filesystem must be defined for the unlocked encrypted partition.") + continue break # Since the potentially new filesystem is new |