wipe partitions before luks

This commit is contained in:
j3d1 2022-02-15 05:43:07 +01:00
parent 9322001485
commit 18ac54c81f

View file

@ -80,6 +80,10 @@ function first_stage(){
echo w
) | fdisk ${DEVICE}
wipefs -a ${DEVICE}1
wipefs -a ${DEVICE}2
echo mkfs.ext4 ${DEVICE}1
yes | mkfs.ext4 ${DEVICE}1
@ -150,8 +154,8 @@ function second_stage(){
unset USER_PASSWORD
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
apt install -y git wget materia-gtk-theme
#apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender
apt install -y git wget materia-gtk-theme htop nmap
#apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender freecad
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
chmod 0755 $HOME/.oh-my-zsh
chown -R jedi:jedi $HOME