Debootstrap-script/chroot-commands.sh
2024-03-30 02:35:49 -04:00

29 lines
623 B
Bash
Executable File

ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc
apt-get install -y locales
cat "en_US.UTF-8 UTF-8" >/etc/locale.gen
locale-gen
cat "LANG=en_US.UTF-8" >/etc/locale.conf
apt-get install -y network-manager
systemctl enable NetworkManager
apt-get install -y vim openssh-server
systemctl enable sshd
apt-get install -y sudo
echo "change passwd for root:"
passwd
echo "add user: wyj"
useradd -m wyj
echo "change passwd for wyj:"
passwd wyj
usermod -aG sudo wyj
apt-get install -y intel-microcode btrfs-progs
apt-get install -y firmware-linux linux-image-amd64 systemd-boot
bootctl install
exit