Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 944 Bytes

README.md

File metadata and controls

31 lines (28 loc) · 944 Bytes

PVE-ZOL

Install Proxmox PVE with cryptsetup on ZFS.

  1. Download and boot debian live install image
  2. Change variables in the installer script install-pve-zol.sh
  3. Copy installer script to the live system
  4. Execute installer script
  5. Reboot system twice

Reset system during development

#!/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

Inspired by