From a9ce3e539028b2484991d21528a09cc3f41210de Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 17 Feb 2021 14:54:45 +0100 Subject: Testing auto-filter in the JSON encoder based on ! points markering sensitive data. --- examples/guided.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/guided.py b/examples/guided.py index 5fdc318b..cf7c3ef3 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -150,9 +150,9 @@ if archinstall.arguments['harddrive'].has_partitions(): archinstall.arguments['harddrive'].keep_partitions = False # Get disk encryption password (or skip if blank) -if not archinstall.arguments.get('encryption-password', None): - archinstall.arguments['encryption-password'] = archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ') -archinstall.arguments['harddrive'].encryption_password = archinstall.arguments['encryption-password'] +if not archinstall.arguments.get('!encryption-password', None): + archinstall.arguments['!encryption-password'] = archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ') +archinstall.arguments['harddrive'].encryption_password = archinstall.arguments['!encryption-password'] # Get the hostname for the machine if not archinstall.arguments.get('hostname', None): -- cgit v1.2.3-54-g00ecf