Revision 5ee7d871

View differences:

share/hooks/image.rb
61 61
        exit -1 if OpenNebula.is_error?(result)
62 62

  
63 63
        # Disable the Image for a safe overwriting
64
        image.disable 
64
        # image.disable
65 65
    
66 66
        # Save the image file
67 67
        result = image.move(source_path, image['SOURCE']) 
68 68
        
69 69
        exit -1 if OpenNebula.is_error?(result)
70 70
    
71
        image.enable
71
        # image.enable
72 72
    end
73 73
end

Also available in: Unified diff