Install Proxmox PVE with cryptsetup on ZFS.
- Download and boot debian live install image
- Change variables in the installer script
install-pve-zol.sh
- Copy installer script to the live system
- Execute installer script
- Reboot system twice
#!/bin/bash
set -x
umount /targer/run
umount /target/boot/efi/
umount -lf /target/dev
umount -lf /target/proc
umount -lf /target/sys
zfs umount -a
zpool destroy bpool
zpool destroy rpool
zpool export -a
cryptsetup luksClose /dev/mapper/rpool0_crypt
cryptsetup luksClose /dev/mapper/rpool1_crypt