- New attributes in Libvirt Node object:
cloud_init_volume_name: <string> # Volume name for cloudinit config
If set, than Node.define() will try to make an ISO image with
metadata for cloudimage, and upload it to the specified Volume.
cloud_init_iface_up: <string> # Interface label to set up on boot
- New attributes in Libvirt Volume object for cloudinit metadata:
cloudinit_meta_data: <string> # Yaml as a string
cloudinit_user_data: <string> # Yaml as a string
- Resize 'source_image' after upload to the specified 'capacity' size.
It's useful for cases when original qcow2 is much smaller than
it is required, so 'source_image' with the size 2Gb will be resized
to 'capacity', for example 50Gb, after upload to the libvirt pool.
For qcow2 images, real disk space is not allocated, it is a virtual
resize only.
- 'centos_master' node role extension refactored: now pre_define()
method just initialize the metadata objects (if they weren't passed
from the template).
- add an example template
Closes-Bug:#1602298
Change-Id: If35b252964a28a4bd43f073318cee93f3dfbe907