diff --git a/README.md b/README.md index be27b83..ea11340 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ install dialog utility setup-usl-mm 1. Pre-reboot script -> +install zfs-utils and disable zpool auto-scrub, 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, diff --git a/setup-usl-mm b/setup-usl-mm index d6e4731..22fc2bb 100755 --- a/setup-usl-mm +++ b/setup-usl-mm @@ -7,6 +7,9 @@ pre_reboot_script () { echo "Installing requirements" 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" ecryptfs-setup-swap