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
|
||||
unset ROOT_PASSWORD
|
||||
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
|
||||
brub-install
|
||||
mkdir /snap
|
||||
|
@ -145,11 +146,3 @@ function post_install_stage(){
|
|||
umount -l $LINE;
|
||||
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