Add erase all confirmation.

This commit is contained in:
Suikan 2021-06-28 23:43:12 +09:00
parent 0a4238165c
commit e39b2de861
3 changed files with 31 additions and 6 deletions

View file

@ -20,7 +20,7 @@ mount /dev/mapper/${VGNAME}-${LVROOTNAME} /target
# And mount other directories
for n in proc sys dev etc/resolv.conf; do mount --rbind "/$n" "/target/$n"; done
# Change root
# Change root and create the keyfile and ramfs image for Linux kernel.
cat <<HEREDOC | chroot /target /bin/bash
```
# Mount the rest of partitions by target /etc/fstab
@ -50,4 +50,8 @@ update-initramfs -uk all
exit
HEREDOC
echo "3-para-install.sh : Done."
cat <<HEREDOC
3-pro-install.sh : Done. Ready to reboot.
HEREDOC