What is Hetzner cloud config? https://community.hetzner.com/tutorials/basic-cloud-config
An additional feature during creation of a Hetzner cloud server (CX11 and above) is user data.
This allows the execution of a cloud-init configuration for the newly created server.
How to use:
- Replace both
{username}
with the username of your choise and remove both<--- Insert username
- Replace
ssh-rsa AAA...0w==
with your public ssh key and remove the<--- Insert public ssh key
- Copy & Paste your config in the Cloud-init configuration field at the bottom of the create server dialogue.
My cloud config does the following:
- Creates a new user as admin and docker user and disables the need for a password on
sudo ...
.