1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Default name for OCCI

This commit is contained in:
Daniel Molina 2011-08-08 17:28:47 +02:00
parent 36c09c4305
commit d9e3f49e3a

View File

@ -4,7 +4,9 @@
# You can add common attributes for your cloud templates (e.g. OS)
#
NAME = "<%= @vm_info['NAME'] %>"
<% if @vm_info['NAME'] %>
NAME = "<%= @vm_info['NAME'] %>"
<% end %>
<% @vm_info.each('DISK') do |disk| %>
<% if disk.attr('STORAGE','href') %>