Feature #1726

Pass custom information to .vmx file

Added by OpenNebula Systems Support Team over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:01/14/2013
Priority:NormalDue date:
Assignee:OpenNebula Systems Support Team% Done:

100%

Category:Drivers - Auth
Target version:Release 4.0
Resolution:fixed Pull request:

Description

Add the ability to set information in the RAW VM template field to be passed verbatim to the .vmx file.

Associated revisions

Revision 83330906
Added by OpenNebula Systems Support Team over 8 years ago

Feature #1726: Metadata can be forced into .vmx files

Revision 8ab71713
Added by Ruben S. Montero over 8 years ago

Feature #1726: Minor modifications to the driver

Revision 9ec4399f
Added by OpenNebula Systems Support Team over 8 years ago

Feature #1726: Metadata can be forced into .vmx files
(cherry picked from commit 83330906574692813dae20d96946d51260dcdd90)

Conflicts:
src/vmm/LibVirtDriverVMware.cc

Revision 8bd0ba00
Added by Ruben S. Montero over 8 years ago

Feature #1726: Minor modifications to the driver
(cherry picked from commit 8ab717132d508765df272cfd6e615f437daefd87)

Revision 5bc0ae86
Added by Tino Vázquez over 8 years ago

feature #1726: Removerepetated keys beforehand from the .vmx files
(cherry picked from commit 974552f46b3d0bfc1a292dd591a9df0abb488e8c)

Revision 2bd00886
Added by Ruben S. Montero over 8 years ago

feature #1726: Additional tests for empty VMX data

History

#1 Updated by Ruben S. Montero over 8 years ago

  • Assignee set to OpenNebula Systems Support Team

#2 Updated by OpenNebula Systems Support Team over 8 years ago

  • Status changed from New to Assigned
  • % Done changed from 0 to 90

Information now can be passed through a new RAW attribute, DATA_VMX. Information passed must scape any double quote (") using a backslask (\"), and multiple lines must be defined with \n. Example

RAW = [ TYPE = "vmware",
DATA_VMX="pciBridge0.present = \"TRUE\"\nguestOS=\"Otheos-64\""]

This will add the following to the pertinent .vmx file

pciBridge0.present = "TRUE"
guestOS="Otheos-64"

Not closing since this needs to be added into the documentation.

#3 Updated by OpenNebula Systems Support Team over 8 years ago

documentation updated for ONE 4.0

#4 Updated by OpenNebula Systems Support Team over 8 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 90 to 100
  • Resolution set to fixed

Also available in: Atom PDF