Disable zfs auto-scrub
This commit is contained in:
parent
900ed8fffd
commit
2d19129cba
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,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,
|
||||||
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/lib/lxd and LXD ZFS storage,
|
crypt some partition with dmcrypt to use with /var/lib/lxd and LXD ZFS storage,
|
||||||
|
|
|
@ -7,6 +7,9 @@ pre_reboot_script () {
|
||||||
echo "Installing requirements"
|
echo "Installing requirements"
|
||||||
apt install cryptsetup ecryptfs-utils zfsutils-linux -y
|
apt install cryptsetup ecryptfs-utils zfsutils-linux -y
|
||||||
|
|
||||||
|
echo "Disabling zpool auto-scrub"
|
||||||
|
sed -ie 's/^/#/' /etc/cron.d/zfsutils-linux
|
||||||
|
|
||||||
echo "Starting ecryptfs-setup-swap"
|
echo "Starting ecryptfs-setup-swap"
|
||||||
ecryptfs-setup-swap
|
ecryptfs-setup-swap
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue