Project

General

Profile

« Previous | Next » 

Revision 1ccf0384

Added by Ben Bettridge about 9 years ago

Fixed bug where multiple machines get generated with the same MAC address.

View differences:

app/models/foreman_xen/xenserver.rb
other_config = template.other_config
other_config.delete 'disks'
other_config.delete 'default_template'
other_config['mac_seed'] = SecureRandom.uuid
end
vm = client.servers.new :name => args[:name],
:affinity => host,

Also available in: Unified diff