This commit is contained in:
Tommaso Chiti 2021-11-03 19:15:04 +01:00
parent 9d96d0f0cc
commit c5f30b8aa6

View file

@ -264,6 +264,8 @@ sed -i "s,quiet,quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS,g" /mnt/etc/d
# Configuring the system. # Configuring the system.
arch-chroot /mnt /bin/bash -e <<EOF arch-chroot /mnt /bin/bash -e <<EOF
print "test"
# Setting up timezone. # Setting up timezone.
echo "Setting up the timezone." echo "Setting up the timezone."
ln -sf /usr/share/zoneinfo/$(curl -s http://ip-api.com/line?fields=timezone) /etc/localtime &>/dev/null ln -sf /usr/share/zoneinfo/$(curl -s http://ip-api.com/line?fields=timezone) /etc/localtime &>/dev/null
@ -281,6 +283,7 @@ arch-chroot /mnt /bin/bash -e <<EOF
mkinitcpio -P &>/dev/null mkinitcpio -P &>/dev/null
# Snapper configuration # Snapper configuration
echo "Configuring Snapper."
umount /.snapshots umount /.snapshots
rm -r /.snapshots rm -r /.snapshots
snapper --no-dbus -c root create-config / snapper --no-dbus -c root create-config /