ikezue / zfs-hetzner-vm

script to install Debian 10, 11 and Ubuntu 18, 20, 22 LTS with ZFS root on Hetzner VPS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zfs-hetzner-vm

shellcheck

Scripts to install Debian 11, 10 or Ubuntu 18 LTS, 20 LTS, 22 LTS with ZFS root on Hetzner root servers (virtual and dedicated).
WARNING: all data on the disk will be destroyed.

How to use:

  • Login into Hetzner cloud server console.
  • Choose "rescue" menu.
  • Click "enable rescue and power cycle", add SSH key to the rescue console, set it OS to linux64, then press mount rescue and power cycle" button.
  • connect via SSH to rescue console, and run the script from this repo.

Debian 10 minimal setup with SSH server

curl -s https://raw.githubusercontent.com/cinderblock/zfs-hetzner-vm/master/hetzner-debian10-zfs-setup.sh | bash -

Debian 11 minimal setup with SSH server

curl -s https://raw.githubusercontent.com/cinderblock/zfs-hetzner-vm/master/hetzner-debian11-zfs-setup.sh | bash -

Ubuntu 18.04 LTS minimal setup with SSH server

curl -s https://raw.githubusercontent.com/cinderblock/zfs-hetzner-vm/master/hetzner-ubuntu18-zfs-setup.sh | bash -

Ubuntu 20 LTS minimal setup with SSH server

curl -s https://raw.githubusercontent.com/cinderblock/zfs-hetzner-vm/master/hetzner-ubuntu20-zfs-setup.sh | bash -

Ubuntu 22 LTS minimal setup with SSH server

curl -s https://raw.githubusercontent.com/cinderblock/zfs-hetzner-vm/master/hetzner-ubuntu22-zfs-setup.sh | bash -

Answer script questions about desired hostname and ZFS ARC cache size.

Upon successful run, the script will reboot system, and you will be able to login into it, using the same SSH key you have used within rescue console

About

script to install Debian 10, 11 and Ubuntu 18, 20, 22 LTS with ZFS root on Hetzner VPS


Languages

Language:Shell 100.0%