Skip to content

Instantly share code, notes, and snippets.

@brettpetch
Last active March 20, 2024 04:09
Show Gist options
  • Save brettpetch/21e3d9f2b8ce59198b061748cb6f8e3c to your computer and use it in GitHub Desktop.
Save brettpetch/21e3d9f2b8ce59198b061748cb6f8e3c to your computer and use it in GitHub Desktop.
Install Images to get up and going on Hetzner.

Plug n' Play Hetzner InstallImage

Cloudbox Config

Ubuntu 18.04, 2 HDD Model For SSD models, please sub in sdX with nvmeXn1.

# Hetzner Online GmbH - installimage
#
# This file contains the configuration used to install this
# system via installimage script. Comments have been removed.
#
# More information about the installimage script and
# automatic installations can be found in our wiki:
#
# http://wiki.hetzner.de/index.php/Installimage
#

DRIVE1 /dev/sda
DRIVE2 /dev/sdb
SWRAID 1
SWRAIDLEVEL 0
HOSTNAME yourhostnamehere
PART /boot  ext4     512M
PART lvm    vg0       all
LV vg0   swap   swap      swap         8G
LV vg0   opt   /opt     btrfs         250G
LV vg0   root    /     xfs      all
IMAGE /root/.oldroot/nfs/install/../images/Ubuntu-1804-bionic-64-minimal.tar.gz

Swizzin Config

Debian 10, 2 HDD model For SSD models, please sub in sdX with nvmeXn1.

#
# Hetzner Online GmbH - installimage
#
# This file contains the configuration used to install this
# system via installimage script. Comments have been removed.
#
# More information about the installimage script and
# automatic installations can be found in our wiki:
#
# http://wiki.hetzner.de/index.php/Installimage
#

DRIVE1 /dev/sda
DRIVE2 /dev/sdb
SWRAID 1
SWRAIDLEVEL 0
HOSTNAME yourhostnamehere
PART /boot  ext4     512M
PART lvm    vg0       all
LV vg0   swap   swap      swap         8G
LV vg0   root    /     xfs      all
IMAGE /root/images/Debian-105-buster-64-minimal.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment