Skip to content
This repository

Interface to's installimage/bootstrapping service

branch: master
Octocat-spinner-32 lib bump version March 26, 2013
Octocat-spinner-32 spec import February 06, 2011
Octocat-spinner-32 .gitignore ignore .rbenv-vars August 08, 2012
Octocat-spinner-32 Gemfile switch to ssl March 26, 2013
Octocat-spinner-32 LICENSE import February 06, 2011
Octocat-spinner-32 Update April 10, 2013
Octocat-spinner-32 Rakefile import February 06, 2011
Octocat-spinner-32 example.rb styling February 06, 2013
Octocat-spinner-32 hetzner-bootstrap.gemspec upgraded deps March 26, 2013


hetzner-bootstrap allows you to bootstrap a provisioned EQ Server from

Gem Version

What it does:

When you purchase a lot of servers at hetzner you're usually ending in reinstalling each system manually prior to the first usage because you may have different opinions about partitioning or RAID levels. This rubygem helps to fully automate the provisioning of a rootserver.

Warning: All existing data on the system will be lost!


Implemented steps:

  1. Enable Rescue Mode (using Hetzner's webservice)
  2. Resetting the System to boot into rescue mode (using Hetzner's webservice)
  3. Log into the rescue system, write your installimage template, execute installation
  4. Reboot
  5. verify installation (very basic check but can be overwritten)
  6. copy your local ssh public-key into root's .authorized_keys
  7. adds the generated server key into your .know_hosts file
  8. execute post_install hooks (optional)


see example.rb file for usage!

Warning: All existing data on the system will be lost!


gem install hetzner-bootstrap


  • All existing data on the system will be wiped on bootstrap!
  • This is not an official Hetzner AG project.
  • The gem and the author are not related to Hetzner AG!

Use at your very own risk. Satisfaction is NOT guaranteed.

Commercial Support available through:

Moriz GmbH

Moriz GmbH, München


Copyright © 2013 Roland Moriz, Moriz GmbH

LinkedIn Twitter

Something went wrong with that request. Please try again.