mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 01:21: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
|
useradd -m $username
|
||||||
usermod -aG wheel $username
|
usermod -aG wheel $username
|
||||||
fi
|
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
|
EOF
|
||||||
|
|
||||||
## Set user password.
|
## Set user password.
|
||||||
|
Loading…
Reference in New Issue
Block a user