Bug 981693 - RFE: Provide cloud-init integration for VMs
RFE: Provide cloud-init integration for VMs
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: virt-manager (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Cole Robinson
Depends On:
  Show dependency treegraph
Reported: 2013-07-05 09:48 EDT by Daniel Berrange
Modified: 2017-10-10 22:57 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
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

Note You need to log in before you can comment on or make changes to this bug.