1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-25 06:03:36 +03:00

Merge branch 'master' of git@opennebula.org:one

This commit is contained in:
Jaime Melis 2010-07-26 14:56:32 +02:00
commit 7dd12a13f0
2 changed files with 3 additions and 3 deletions

View File

@ -61,13 +61,13 @@ vm.each('TEMPLATE/DISK') do |disk|
exit -1 if OpenNebula.is_error?(result)
# Disable the Image for a safe overwriting
image.disable
# image.disable
# Save the image file
result = image.move(source_path, image['SOURCE'])
exit -1 if OpenNebula.is_error?(result)
image.enable
# image.enable
end
end

View File

@ -716,7 +716,7 @@ when "saveas"
end
# Build the template and allocate the new Image
template = "NAME=#{image_name}\n"
template = "NAME=\"#{image_name}\"\n"
template << "TYPE=#{image_type}\n" if image_type