diff --git a/src/cloud/occi/etc/templates/large.erb b/src/cloud/occi/etc/templates/large.erb index 7147cb1ffa..cc1cc7a98f 100644 --- a/src/cloud/occi/etc/templates/large.erb +++ b/src/cloud/occi/etc/templates/large.erb @@ -14,12 +14,6 @@ NAME = "<%= @vm_info['NAME'] %>" <% @vm_info.each('DISK') do |disk| %> <% if disk['STORAGE'] && disk.attr('STORAGE','href') %> DISK = [ IMAGE_ID = <%= disk.attr('STORAGE','href').split('/').last %> - <% if disk['OVERWRITE'] %> - ,OVERWRITE = "yes" - <% end %> - <% if disk['SAVE_AS'] %> - ,SAVE_AS = "<%= disk['SAVE_AS'] %>" - <% end %> ] <% end %> <% end %> diff --git a/src/cloud/occi/etc/templates/medium.erb b/src/cloud/occi/etc/templates/medium.erb index e573ac5890..074f5d31fd 100644 --- a/src/cloud/occi/etc/templates/medium.erb +++ b/src/cloud/occi/etc/templates/medium.erb @@ -14,12 +14,6 @@ NAME = "<%= @vm_info['NAME'] %>" <% @vm_info.each('DISK') do |disk| %> <% if disk['STORAGE'] && disk.attr('STORAGE','href') %> DISK = [ IMAGE_ID = <%= disk.attr('STORAGE','href').split('/').last %> - <% if disk['OVERWRITE'] %> - ,OVERWRITE = "yes" - <% end %> - <% if disk['SAVE_AS'] %> - ,SAVE_AS = "<%= disk['SAVE_AS'] %>" - <% end %> ] <% end %> <% end %> diff --git a/src/cloud/occi/etc/templates/small.erb b/src/cloud/occi/etc/templates/small.erb index a43c25851e..65f8100f86 100644 --- a/src/cloud/occi/etc/templates/small.erb +++ b/src/cloud/occi/etc/templates/small.erb @@ -14,12 +14,6 @@ NAME = "<%= @vm_info['NAME'] %>" <% @vm_info.each('DISK') do |disk| %> <% if disk['STORAGE'] && disk.attr('STORAGE','href') %> DISK = [ IMAGE_ID = <%= disk.attr('STORAGE','href').split('/').last %> - <% if disk['OVERWRITE'] %> - ,OVERWRITE = "yes" - <% end %> - <% if disk['SAVE_AS'] %> - ,SAVE_AS = "<%= disk['SAVE_AS'] %>" - <% end %> ] <% end %> <% end %> diff --git a/src/cloud/occi/lib/VirtualMachineOCCI.rb b/src/cloud/occi/lib/VirtualMachineOCCI.rb index 06be235725..3990bdee47 100755 --- a/src/cloud/occi/lib/VirtualMachineOCCI.rb +++ b/src/cloud/occi/lib/VirtualMachineOCCI.rb @@ -33,9 +33,6 @@ class VirtualMachineOCCI < VirtualMachine <%= disk['TYPE'] %> <%= disk['TARGET'] %> - <% if disk['CLONE']=='NO' %> - - <% end %> <% if disk['SAVE_AS'] %> <%= disk['SAVE_AS'] %> <% end %>