Enable NetworkManager during setup

This commit is contained in:
Manuel Thalmann 2023-04-03 11:14:46 +02:00
parent 5785856d45
commit e587a941df

View file

@ -26,6 +26,8 @@ timedatectl set-timezone "$ARCH_TIMEZONE";
pacstrap -K "$ARCH_MOUNT_ROOT" base linux linux-firmware networkmanager; pacstrap -K "$ARCH_MOUNT_ROOT" base linux linux-firmware networkmanager;
genfstab -U "$ARCH_MOUNT_ROOT" >> "$ARCH_MOUNT_ROOT/etc/fstab"; genfstab -U "$ARCH_MOUNT_ROOT" >> "$ARCH_MOUNT_ROOT/etc/fstab";
arch-chroot "$ARCH_MOUNT_ROOT" systemctl enable NetworkManager;
arch-chroot "$ARCH_MOUNT_ROOT" ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime; arch-chroot "$ARCH_MOUNT_ROOT" ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime;
arch-chroot "$ARCH_MOUNT_ROOT" hwclock --systohc; arch-chroot "$ARCH_MOUNT_ROOT" hwclock --systohc;