Using cloud-init in oVirt
What is cloud-init?
cloud-init provides the capability of early initialization of a virtual machine.
This usually happens during the startup of the guest operating system on the virtual machine.
What can I do with it in oVirt?
oVirt allows you to configure:
- an initial user account including password and your SSH key
- a hostname
- the timezone of the virtual machine
- DNS settings and networks on the virtual machine
Additionally it allows you to pass a custom cloud-init script, which should give you the full flexibility cloud-init provides.
Virtual machine requirements
In order to use cloud-init with a virtual machine the cloud-init package has to be installed on the VM in question. For most distributions packages for cloud-init should be available in their respective package repositories.
So the VM, you would like to use cloud-init with, needs to have preinstalled the cloud-init
Continue reading →