This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ZFS-setup.sh 2016-03-24 19:42 | |
# Auto-installer for clean new system using root on zfs, and optionally on | |
# luks encrypted disks. It installs Ubuntu 14.04.04 or 16.04 with everything | |
# needed to support ZFS and potentially LUKS. Without LUKS everything lives | |
# in the main rpool pool. With LUKS then /boot lives in its own boot pool. | |
# Grub2 is installed to all disks, so the system can boot cleanly from *any* | |
# disk, even with a failed disk. |