lib/veewee/provider/vmfusion/box/template.vmx.erb in veewee-0.3.7 vs lib/veewee/provider/vmfusion/box/template.vmx.erb in veewee-0.3.9

- old
+ new

@@ -1,17 +1,30 @@ .encoding = "UTF-8" config.version = "8" -virtualHW.version = <%= virtualhw_version %> +<% if fusion_os_type.start_with?("darwin") %>firmware = "efi" +keyboardAndMouseProfile = "macProfile" +smc.present = "TRUE" +hpet0.present = "TRUE" +ich7m.present = "TRUE" +scsi1.present = "TRUE" +scsi1.virtualDev = "<%= controller_type %>" +scsi1:0.fileName = "<%= iso_file %>" +scsi1:0.present = "TRUE" +scsi1:0.deviceType = "cdrom-image" +scsi1:0.startConnected = "TRUE" +scsi1.pciSlotNumber = "36"<% else %> +ide1:0.present = "TRUE" +ide1:0.fileName = "<%= iso_file %>" +ide1:0.deviceType = "cdrom-image" +<% end %> +virtualHW.version = "<%= virtualhw_version %>" numvcpus = "<%= cpu_count %>" scsi0.present = "TRUE" scsi0.virtualDev = "<%= controller_type %>" memsize = "<%= memory_size %>" scsi0:0.present = "TRUE" scsi0:0.fileName = "<%= box_name %>.vmdk" -ide1:0.present = "TRUE" -ide1:0.fileName = "<%= iso_file %>" -ide1:0.deviceType = "cdrom-image" usb.present = "TRUE" ehci.present = "TRUE" pciBridge0.present = "TRUE" pciBridge4.present = "TRUE" pciBridge4.virtualDev = "pcieRootPort" @@ -80,11 +93,12 @@ ethernet0.bsdName = "en0" ethernet0.displayName = "Ethernet" sound.startConnected = "FALSE" RemoteDisplay.vnc.enabled = "TRUE" RemoteDisplay.vnc.port = "<%= vnc_port %>" +<% if enable_hypervisor_support == true %>vhv.enable = "TRUE"<% end %> <% if fusion_version.start_with?('5.') %>bios.bootOrder = "hdd,CDROM"<% end %> <% unless vmdk_file.nil? %> scsi0:2.present = "TRUE" scsi0:2.fileName = "<%= vmdk_file %>" scsi0:2.redo = "" -<% end %> \ No newline at end of file +<% end %>