vinstaller/etc/base

18 lines
483 B
Plaintext
Raw Normal View History

2022-02-07 02:34:12 +01:00
packages() {
addpkg base-system lvm2 cryptsetup htop tmux wireguard-tools
}
config() {
2022-02-07 03:32:29 +01:00
chown root:root /
chmod 755 /
passwd root
echo ${HOSTNAME} > /etc/hostname
echo "LANG=en_US.UTF-8" > /etc/locale.conf
echo "en_US.UTF-8 UTF-8" >> /etc/default/libc-locales
if ! [ "$L1" == "en_US" ]; then
echo "LANG=${L1}.UTF-8" > /etc/locale.conf
echo "${L1}.UTF-8 UTF-8" >> /etc/default/libc-locales
fi
xbps-reconfigure -f glibc-locales
echo "GRUB_ENABLE_CRYPTODISK=y" >> /etc/default/grub
2022-02-07 02:34:12 +01:00
}