wip
This commit is contained in:
parent
c5a873265e
commit
d4232602f3
1 changed files with 2 additions and 2 deletions
4
entry.sh
4
entry.sh
|
@ -37,13 +37,13 @@ function first_stage(){
|
||||||
lsblk
|
lsblk
|
||||||
|
|
||||||
echo mkfs.ext4 ${DEVICE}1
|
echo mkfs.ext4 ${DEVICE}1
|
||||||
mkfs.ext4 ${DEVICE}1
|
yes | mkfs.ext4 ${DEVICE}1
|
||||||
(
|
(
|
||||||
echo $luks_password
|
echo $luks_password
|
||||||
echo $luks_password
|
echo $luks_password
|
||||||
)| cryptsetup luksFormat ${DEVICE}2
|
)| cryptsetup luksFormat ${DEVICE}2
|
||||||
echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm
|
echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm
|
||||||
mkfs.ext4 ${DEVICE}2
|
yes | mkfs.ext4 ${DEVICE}2
|
||||||
mount ${DEVICE}2 $TARGET
|
mount ${DEVICE}2 $TARGET
|
||||||
echo mount ${DEVICE}2 $TARGET
|
echo mount ${DEVICE}2 $TARGET
|
||||||
echo debootstrap sid $TARGET
|
echo debootstrap sid $TARGET
|
||||||
|
|
Loading…
Reference in a new issue