diff --git a/entry.sh b/entry.sh index fc6526b..b48b0eb 100755 --- a/entry.sh +++ b/entry.sh @@ -63,10 +63,10 @@ function first_stage(){ yes | mkfs.ext4 ${DEVICE}1 ( - echo $luks_password - echo $luks_password + echo $LUKS_PASSWORD + echo $LUKS_PASSWORD )| cryptsetup luksFormat ${DEVICE}2 - echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm + echo $LUKS_PASSWORD | cryptsetup luksOpen ${DEVICE}2 cryptlvm pvcreate /dev/mapper/cryptlvm vgcreate vg0 /dev/mapper/cryptlvm @@ -100,7 +100,6 @@ function first_stage(){ function second_stage(){ set -e - echo bar second_stage echo $TARGET echo $LVM_SIZE ( @@ -129,6 +128,8 @@ function second_stage(){ chmod 0755 $HOME/.oh-my-zsh chown -R jedi:jedi $HOME chsh --shell /bin/zsh jedi + + echo second_stage done }