Revision 891be6d7

View differences:

src/cloud/occi/etc/templates/large.erb
8 8
CPU    = 8
9 9
MEMORY = 8192
10 10

  
11
NAME   = <%= @vm_info['NAME'] %>
11
NAME   = "<%= @vm_info['NAME'] %>"
12 12

  
13 13
<% if @vm_info['DISK'] %>
14 14
    <% @vm_info.each('DISK') do |disk| %>
src/cloud/occi/etc/templates/medium.erb
8 8
CPU    = 4
9 9
MEMORY = 4096
10 10

  
11
NAME   = <%= @vm_info['NAME'] %>
11
NAME   = "<%= @vm_info['NAME'] %>"
12 12

  
13 13
<% if @vm_info['DISK'] %>
14 14
    <% @vm_info.each('DISK') do |disk| %>
src/cloud/occi/etc/templates/small.erb
8 8
CPU    = 1
9 9
MEMORY = 1024
10 10

  
11
NAME   = <%= @vm_info['NAME'] %>
11
NAME   = "<%= @vm_info['NAME'] %>"
12 12

  
13 13
<% if @vm_info['DISK'] %>
14 14
    <% @vm_info.each('DISK') do |disk| %>
src/cloud/occi/lib/VirtualNetworkOCCI.rb
31 31
    }
32 32

  
33 33
    ONE_NETWORK = %q{
34
        NAME            = <%= @vnet_info['NAME'] %>
34
        NAME            = "<%= @vnet_info['NAME'] %>"
35 35
        TYPE            = RANGED
36 36
        <% if @bridge %>
37 37
        BRIDGE          = <%= @bridge %>

Also available in: Unified diff