wip
This commit is contained in:
parent
641402e3c8
commit
ea64241492
1 changed files with 5 additions and 0 deletions
5
entry.sh
5
entry.sh
|
@ -8,14 +8,17 @@ function first_stage(){
|
||||||
echo -n "luks password: "
|
echo -n "luks password: "
|
||||||
read -s luks_password_in
|
read -s luks_password_in
|
||||||
export_env LUKS_PASSWORD $luks_password_in
|
export_env LUKS_PASSWORD $luks_password_in
|
||||||
|
echo
|
||||||
|
|
||||||
echo -n "root password: "
|
echo -n "root password: "
|
||||||
read -s root_password_in
|
read -s root_password_in
|
||||||
export_env ROOT_PASSWORD $root_password_in
|
export_env ROOT_PASSWORD $root_password_in
|
||||||
|
echo
|
||||||
|
|
||||||
echo -n "user password: "
|
echo -n "user password: "
|
||||||
read -s user_password_in
|
read -s user_password_in
|
||||||
export_env USER_PASSWORD $user_password_in
|
export_env USER_PASSWORD $user_password_in
|
||||||
|
echo
|
||||||
|
|
||||||
lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT
|
lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT
|
||||||
select DEVICE in $(lsblk -frpno NAME); do
|
select DEVICE in $(lsblk -frpno NAME); do
|
||||||
|
@ -98,6 +101,8 @@ function first_stage(){
|
||||||
function second_stage(){
|
function second_stage(){
|
||||||
set -e
|
set -e
|
||||||
echo bar second_stage
|
echo bar second_stage
|
||||||
|
echo $TARGET
|
||||||
|
echo $LVM_SIZE
|
||||||
passwd
|
passwd
|
||||||
echo -n > /etc/motd
|
echo -n > /etc/motd
|
||||||
apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 locales tzdata keyboard-configuration console-common
|
apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 locales tzdata keyboard-configuration console-common
|
||||||
|
|
Loading…
Reference in a new issue