remove_disable_scrub

This commit is contained in:
Milan Meduna 2019-11-08 13:39:46 +01:00
parent 8b0fbc61e2
commit a256a06f42
2 changed files with 1 additions and 4 deletions

View File

@ -6,7 +6,7 @@ install dialog utility
setup-usl-mm
1. Pre-reboot script ->
install zfs-utils and disable zpool auto-scrub,
install zfs-utils,
change timezone to Prague,
crypt swap partition with ecryptfs-utils,
crypt some partition with dmcrypt to use with /var/lib/lxd and LXD ZFS storage,

View File

@ -26,9 +26,6 @@ apt install cryptsetup ecryptfs-utils zfsutils-linux -y
echo "Setting timezone to Prague"
timedatectl set-timezone Europe/Prague
echo "Disabling zpool auto-scrub"
sed -i 's/^/#/' /etc/cron.d/zfsutils-linux
echo "Starting ecryptfs-setup-swap"
ecryptfs-setup-swap -f