wip
This commit is contained in:
parent
713c8a8041
commit
0c0c23554a
1 changed files with 2 additions and 9 deletions
11
entry.sh
11
entry.sh
|
@ -110,7 +110,8 @@ function second_stage(){
|
||||||
) | passwd
|
) | passwd
|
||||||
unset ROOT_PASSWORD
|
unset ROOT_PASSWORD
|
||||||
echo -n > /etc/motd
|
echo -n > /etc/motd
|
||||||
update_sources
|
sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list
|
||||||
|
apt update
|
||||||
apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 firmware-iwlwifi locales tzdata keyboard-configuration console-common zsh
|
apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 firmware-iwlwifi locales tzdata keyboard-configuration console-common zsh
|
||||||
brub-install
|
brub-install
|
||||||
mkdir /snap
|
mkdir /snap
|
||||||
|
@ -145,11 +146,3 @@ function post_install_stage(){
|
||||||
umount -l $LINE;
|
umount -l $LINE;
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_sources(){
|
|
||||||
if [ ! grep -Fxq "contrib" /etc/apt/sources.list ]
|
|
||||||
then
|
|
||||||
sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list
|
|
||||||
apt update
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue