Sha256: 507015b77144effe4fdd832f402027a11774fb5634735cad6adbad716430887c

Contents?: true

Size: 890 Bytes

Versions: 1

Compression:

Stored size: 890 Bytes

Contents

.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "7"
vmci0.present = "true"
displayName = "<%= spec[:vm_name] %>"
numvcpus = "<%= spec[:cpus] %>"
memsize = "<%= spec[:memory] %>"
scsi0.present = "true"
scsi0.sharedBus = "none"
scsi0.virtualDev = "lsilogic"
scsi0:0.present = "true"
scsi0:0.fileName = "<%= spec[:disk_file].split("/").last %>"
scsi0:0.deviceType = "scsi-hardDisk"
guestOS = <%= spec[:guest_id] %>
floppy0.present = "FALSE"
<% spec[:nics].each_with_index do |nic,index| %>
ethernet<%= index %>.present = "true"
ethernet<%= index %>.virtualDev = "e1000"
ethernet<%= index %>.wakeOnPcktRcv = "false"
ethernet<%= index %>.networkName = "<%= nic[:network] %>"
<% if nic[:mac_address] %>
ethernet<%= index %>.addressType = "static"
ethernet<%= index %>.address = "<%= nic[:mac_address] %>"
<% else %>
ethernet<%= index %>.addressType = "generated"
<% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esx-0.4.2 templates/vmx_template.erb