Bug 981693
Summary: | RFE: Provide cloud-init integration for VMs | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Daniel Berrangé <berrange> |
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | berrange, crobinso, dustymabe, fweimer, gscrivan, hbrock, ibaldo, jforbes, juzhou, majopela, pmukhedk, poisson02, rjones, stanislav.polasek, tim, ueberall, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-09-15 21:25:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Berrangé
2013-07-05 13:48:38 UTC
Moving to the upstream tracker See also http://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-non-cloud-boots/ Dan, 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. 1+ Work for this is committed upstream. Simplest invocation is: virt-install --cloud-init ... Which will generate a random root password, print it to the console, and set cloud-init to be disabled after the first boot up. This is to facilitate the case of grabbing a distro cloud image and wanting to use it like a regular VM. --cloud-init has some suboptions for different usecases: $ ./virt-install --cloud-init=help --cloud-init options: disable meta-data root-password-file root-password-generate ssh-key user-data For example, user-data=/path/to/user-data for cloudinit user-data passthrough, and ssh-key=/path/to/ssh-key.pub for initializing the default user with your ssh key. Setting to MODIFIED, I will close when a new release is out This is in virt-manager 3.0.0 release now |