From 0c9661f2d98f9464cc5d19eb5fac5cdc9fdc226b Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 22 Dec 2019 11:45:58 +0100 Subject: format_crypto_partition.sh working. --- stages/first_stage.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'stages') diff --git a/stages/first_stage.sh b/stages/first_stage.sh index cb1503a..ba0590a 100644 --- a/stages/first_stage.sh +++ b/stages/first_stage.sh @@ -33,7 +33,8 @@ python $REPOSITORY_PATH/util/write_config.py $CONFIG_FILE_PATH export disk=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "disk") export disk_path=/dev/$disk export efi_partition_path="${disk_path}1" -export main_partition_path="${disk_path}2" +export boot_partition_path="${disk_path}2" +export main_partition_path="${disk_path}3" export hostname=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "hostname") export desktop=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "desktop") export admin_username=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "admin_username") @@ -48,7 +49,9 @@ bash partition_disk.sh $disk_path if [ $system_encryption == "yes" ];then - bash create_crypto_partition.sh $main_partition_path + bash format_crypto_partition.sh $main_partition_path $DEFAULT_PASSWORD + + bash open_crypto_partition.sh bash create_logical_volumes.sh -- cgit v1.2.3-70-g09d2