{"id":13552116,"url":"https://github.com/terem42/zfs-hetzner-vm","last_synced_at":"2026-01-12T07:57:58.034Z","repository":{"id":37984063,"uuid":"238147170","full_name":"terem42/zfs-hetzner-vm","owner":"terem42","description":"script to install Debian 10, 11, 12 and Ubuntu 18, 20, 22 LTS with ZFS root on Hetzner VPS","archived":false,"fork":false,"pushed_at":"2024-07-01T22:38:41.000Z","size":257,"stargazers_count":165,"open_issues_count":20,"forks_count":108,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-03T22:34:02.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terem42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-04T07:23:12.000Z","updated_at":"2024-10-29T18:35:03.000Z","dependencies_parsed_at":"2023-10-10T13:35:45.930Z","dependency_job_id":"775aba27-a2b4-41ad-b513-f6395ea5dca2","html_url":"https://github.com/terem42/zfs-hetzner-vm","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terem42%2Fzfs-hetzner-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terem42%2Fzfs-hetzner-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terem42%2Fzfs-hetzner-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terem42%2Fzfs-hetzner-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terem42","download_url":"https://codeload.github.com/terem42/zfs-hetzner-vm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246925606,"owners_count":20855912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:01:59.124Z","updated_at":"2026-01-12T07:57:58.027Z","avatar_url":"https://github.com/terem42.png","language":"Shell","funding_links":[],"categories":["Shell","Tools"],"sub_categories":["Rust"],"readme":"# zfs-hetzner-vm\n\n[![shellcheck](https://github.com/terem42/zfs-hetzner-vm/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/terem42/zfs-hetzner-vm/actions/workflows/shellcheck.yml)\n\nScripts to install Debian 10, 11, 12, 13 or Ubuntu 18 LTS, 20 LTS, 22 LTS, 24 LTS with ZFS root on Hetzner root servers (virtual and dedicated).\n__WARNING:__ all data on the disk will be destroyed.\n\n## How to use:\n\n* Login into Hetzner cloud server console.\n* Choose \"rescue\" menu.\n* 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.\n* connect via SSH to rescue console, and run the script from this repo.\n\nDebian 10 minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-debian10-zfs-setup.sh | bash -\n````\n\nDebian 11 minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-debian11-zfs-setup.sh | bash -\n````\n\nDebian 12 minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-debian12-zfs-setup.sh | bash -\n````\n\nDebian 13 minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-debian13-zfs-setup.sh | bash -\n````\n\nUbuntu 18.04 LTS minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-ubuntu18-zfs-setup.sh | bash -\n````\n\nUbuntu 20 LTS minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-ubuntu20-zfs-setup.sh | bash -\n````\n\nUbuntu 22 LTS minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-ubuntu22-zfs-setup.sh | bash -\n````\n\nUbuntu 24 LTS minimal setup with SSH server\n\n````bash\nwget -qO- https://raw.githubusercontent.com/terem42/zfs-hetzner-vm/master/hetzner-ubuntu24-zfs-setup.sh | bash -\n````\n\nAnswer script questions about desired hostname and ZFS ARC cache size.\n\nTo cope with network failures its higly recommended to run the commands above inside screen console, type `man screen` for more info.\nExample of screen utility usage:\n\n````bash\nexport LC_ALL=en_US.UTF-8 \u0026\u0026 screen -S zfs\n````\nTo detach from screen console, hit Ctrl-d then a\nTo reattach, type `screen -r zfs`\n\nUpon succesfull 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\n\nPlease note that the drives you intend to format can not be in use,\nyou can execute `mdadm --stop --scan` before running the script to halt default software raid operations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterem42%2Fzfs-hetzner-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterem42%2Fzfs-hetzner-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterem42%2Fzfs-hetzner-vm/lists"}