mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
This commit is contained in:
parent
62e6e8a474
commit
20acb7a213
@ -852,7 +852,9 @@ class Template
|
||||
str << "IMPORT_STATE =\"#{@state}\"\n"
|
||||
|
||||
# Get DS information
|
||||
str << "VCENTER_DS_REF = \"#{@vm_info["datastore"].last._ref}\"\n"
|
||||
if !@vm_info["datastore"].last._ref.nil?
|
||||
str << "VCENTER_DS_REF = \"#{@vm_info["datastore"].last._ref}\"\n"
|
||||
end
|
||||
|
||||
vnc_port = nil
|
||||
keymap = VCenterDriver::VIHelper.get_default("VM/TEMPLATE/GRAPHICS/KEYMAP")
|
||||
|
Loading…
x
Reference in New Issue
Block a user