Bug 981693

Summary: RFE: Provide cloud-init integration for VMs
Product: [Community] Virtualization Tools Reporter: Daniel Berrange <berrange>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, dustymabe, gscrivan, hbrock, jforbes, juzhou, majopela, pmukhedk, poisson02, rbalakri, rjones, stanislav.polasek, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Daniel Berrange 2013-07-05 09:48:38 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:

Comment 1 Cole Robinson 2013-08-31 12:08:16 EDT
Moving to the upstream tracker
Comment 3 Dusty Mabe 2014-09-24 09:51:22 EDT

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.
Comment 5 Prasad Mukhedkar 2015-06-26 09:39:36 EDT