This commit is contained in:
teldra 2021-05-09 21:07:32 +02:00
parent 4d6ed11819
commit bea6ccc6e3
2 changed files with 3 additions and 8 deletions

View File

@ -12,7 +12,7 @@ setconf add "lang_console" "de-latin1-nodeadkeys"
setconf add "timezone" "Europe/Berlin"
addpkg void-repo-multilib void-repo-multilib-nonfree void-repo-nonfree lvm2 cronie socklog-void ntp xtools wireguard-tools gnupg2 progress pwgen net-tools ncdu nmap mtr iotop hdparm smartmontools htop git neovim btrbk croc grub-btrfs nano mbuffer
addpkg void-repo-multilib void-repo-multilib-nonfree void-repo-nonfree lvm2 cronie socklog-void ntp xtools wireguard-tools gnupg2 progress pwgen net-tools ncdu nmap mtr iotop hdparm smartmontools htop git neovim btrbk croc grub-btrfs nano mbuffer cryptsetup
ignorepkg nvi gnupg
servicesenable acpid cronie socklog-unix nanoklogd uuidd agetty-tty1 agetty-tty2 agetty-tty3 agetty-tty4
servicesdisable agetty-tty6 agetty-tty5

View File

@ -5,18 +5,13 @@ fi
module start "disk" "Partition disk . BIOS"
#umounter "${dest}" || exit
#if [[ ! "${cfg[fde_key_store]}" == "none" ]]; then
# addpkg cryptsetup
#fi
diskid="${cfg[diskid]//-/_}"
if [[ -n "${cfg[wipe]}" ]]; then
echo "Formatting disk"
echo fdisk -w always "${cfg[diskname]}"
echo "o
w
q" | fdisk "${cfg[diskname]}" > /dev/null
q" | fdisk -w always "${cfg[diskname]}" > /dev/null
fi
sleep 2
echo "create bootpartition"