remove_disable_scrub
This commit is contained in:
parent
9637bfd296
commit
b088aa920e
2 changed files with 1 additions and 4 deletions
|
@ -5,7 +5,7 @@ install dialog utility
|
||||||
|
|
||||||
setup-usl-mm
|
setup-usl-mm
|
||||||
1. Pre-reboot script ->
|
1. Pre-reboot script ->
|
||||||
install zfs-utils and disable zpool auto-scrub,
|
install zfs-utils,
|
||||||
change timezone to Prague,
|
change timezone to Prague,
|
||||||
crypt swap partition with ecryptfs-utils,
|
crypt swap partition with ecryptfs-utils,
|
||||||
crypt some partition with dmcrypt to use with /var/snap/lxd/common/lxd/* and LXD ZFS storage,
|
crypt some partition with dmcrypt to use with /var/snap/lxd/common/lxd/* and LXD ZFS storage,
|
||||||
|
|
|
@ -29,9 +29,6 @@ apt install cryptsetup ecryptfs-utils zfsutils-linux -y
|
||||||
echo "Setting timezone to Prague"
|
echo "Setting timezone to Prague"
|
||||||
timedatectl set-timezone Europe/Prague
|
timedatectl set-timezone Europe/Prague
|
||||||
|
|
||||||
echo "Disabling zpool auto-scrub"
|
|
||||||
sed -i 's/^/#/' /etc/cron.d/zfsutils-linux
|
|
||||||
|
|
||||||
echo "Starting ecryptfs-setup-swap"
|
echo "Starting ecryptfs-setup-swap"
|
||||||
ecryptfs-setup-swap -f
|
ecryptfs-setup-swap -f
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue