Red Hat Bugzilla – Bug 981693
RFE: Provide cloud-init integration for VMs
Last modified: 2015-06-26 09:39:36 EDT
Description of problem:
Fedora (and many other distros) provide pre-built cloud images. These typically have no default password set, requiring the cloud-init service to pull a password and/or ssh public key off the host metadata service, or config-drive disk.
It would be desirable to use the pre-built cloud images in non-cloud world, using virt-manager and/or virt-install --import.
Without a way to populate the login password/ssh keys, this isn't practical
It would be desirable if virt-install have a way to specify arbitrary key,value pairs to populate the metadata source. It could then auto-generate a disk image to act as a config drive thus:
Moving to the upstream tracker
See also http://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-non-cloud-boots/
Would it be a good first step if virt-install/virt-manager had the ability to accept a file or directory to use and build a resulting iso image and attach it to the guest on install/import?
Key/Value pair could come later.