mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 09:01:34 -05:00
Ree-add snapper configuration
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c74b56a456
commit
dcbae1fd2d
@ -397,6 +397,15 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
||||
useradd -m $username
|
||||
usermod -aG wheel $username
|
||||
fi
|
||||
|
||||
# Snapper configuration
|
||||
umount /.snapshots
|
||||
rm -r /.snapshots
|
||||
snapper --no-dbus -c root create-config /
|
||||
btrfs subvolume delete /.snapshots
|
||||
mkdir /.snapshots
|
||||
mount -a
|
||||
chmod 750 /.snapshots
|
||||
EOF
|
||||
|
||||
## Set user password.
|
||||
|
Loading…
Reference in New Issue
Block a user