Project

General

Profile

Bug #2374 » libvirt.rb.lvm2.diff

Chris Barbour, 04/04/2013 04:20 PM

View differences:

/usr/share/foreman/lib/foreman/model/libvirt.rb 2013-04-04 12:39:24.000000000 -0700
vols = []
(volumes = args[:volumes]).each do |vol|
vol.name = "#{args[:prefix]}-disk#{volumes.index(vol)+1}"
vol.allocation = "0K"
vol.allocation = "1M"
vol.save
vols << vol
end
(1-1/2)