Pass custom information to .vmx file
|Assignee:||OpenNebula Systems Support Team||% Done:|
|Category:||Drivers - Auth|
|Target version:||Release 4.0|
Add the ability to set information in the RAW VM template field to be passed verbatim to the .vmx file.
Feature #1726: Metadata can be forced into .vmx files
(cherry picked from commit 83330906574692813dae20d96946d51260dcdd90)
Feature #1726: Minor modifications to the driver
(cherry picked from commit 8ab717132d508765df272cfd6e615f437daefd87)
feature #1726: Removerepetated keys beforehand from the .vmx files
(cherry picked from commit 974552f46b3d0bfc1a292dd591a9df0abb488e8c)
#2 Updated by OpenNebula Systems Support Team about 6 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"
Not closing since this needs to be added into the documentation.