You have asked for automatic configuration of new virtual machines and we have delivered ;) This task is solved by cloud-init, a new tool available in the cloud server creation section.
An important benefit
Cloud-init is triggered automatically the first time you start a new VM.
Just provide a script for the cloud-init agent and it will do everything for you:
→ Install the required package.
→ Create a user.
→ Enable the necessary security settings.
→ Handle network settings.
Scripting and editing
→ You can work with scripts in #cloud-config
and #bin/sh
format — they are the ones you need to start the cloud-init process.
→ Once the cloud server is created, the given script is saved. You can edit it later on a running machine.