Bug 1057998
| Summary: | PRD34 - [RFE] cloud-init options persistence / unification with sysprep options | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Itamar Heim <iheim> |
| Component: | RFEs | Assignee: | Shahar Havivi <shavivi> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.0 | CC: | acathrow, adahms, ecohen, gklein, iheim, lpeer, mavital, mgoldboi, michal.skrivanek, ofrenkel, shavivi, sherold, thunt, yeylon |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | ovirt-3.4.0-beta3 | Doc Type: | Enhancement |
| Doc Text: |
With this update, the Cloud-Init feature is now available in the Edit Virtual Machine window and Edit Template window in addition to the Run Once menu. This makes it possible to configure and apply persistent initialization settings to virtual machines in virtual machine pools and for use in creating templates.
|
Story Points: | --- |
| Clone Of: | 1051041 | Environment: | |
| Last Closed: | 2014-06-09 15:01:58 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: | |||
| Bug Depends On: | 1051041 | ||
| Bug Blocks: | 1078909, 1142926 | ||
|
Description
Itamar Heim
2014-01-26 11:43:48 UTC
Verified in rhevm-3.4.0-0.9.beta1.el6ev (av3.1).
Cloud-Init data (sysprep data for Windows-based VMs) can be now persistently saved as part of VM the profile.
Verification:
1. In GUI create a Linux-based VM with following Cloud-Init data (under Initial Run section):
-~-
VM Hostname: vm-cloud-init-persistent
Time Zone: Hawaiian Standard Time
/Authentication/
Root Password: 654321
Verify Root Password: 654321
SSH Authorized Keys: ssh-rsa vm-init-persistent-sshpubkey root@localhost
Regenerate SSH Keys: True
/Networks/
DNS Servers: 10.20.30.40
DNS Search Domains: domain.example.com
Network: eth0
Use DHCP: True
Start on Boot: True
Custom Script:
write_files:
- content: |
# THIS IS MY TEXT FILE
Some Content for my file
path: /tmp/myfile
permissions: '0644'
-~-
2. Open VM run once dialog and check parameters in the Initial Run section. They should be the same as defined on the VM - Initial Run in step 1. Note that no sensitive data should be disclosed here (user passwords).
3. Submit the dialog (run the VM) and after VM is up, log in and check that all parameters set in step 1 were applied.
Additional notes: there is known bug 1063518, where user is not allowed to log in to the guest with provided SSH public key.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-0506.html |