diff options
author | Jonathan Bauer | 2014-10-29 17:52:25 +0100 |
---|---|---|
committer | Jonathan Bauer | 2014-10-29 17:52:25 +0100 |
commit | 79af64d5ed525a5cd9dea4ef0e81b9111e640d79 (patch) | |
tree | 80596c4e9489b6c5841797f5d2bff04e45a81c48 /dozentenmodul/src/main/resources | |
parent | [client] clearer comments for ResourceLoader (diff) | |
download | tutor-module-79af64d5ed525a5cd9dea4ef0e81b9111e640d79.tar.gz tutor-module-79af64d5ed525a5cd9dea4ef0e81b9111e640d79.tar.xz tutor-module-79af64d5ed525a5cd9dea4ef0e81b9111e640d79.zip |
[client] vmx file generation after downloading an image
WARNING: this will not work for StreamOptimized-VMDKs. This is not
something we can directly fix, since it depends on the type of the
vmdk beeing downloaded.
TODO: How to handle this case?
Minor: also reworked speed calculations for downloads to lessen the
amount of updates needed by the GUI.
Diffstat (limited to 'dozentenmodul/src/main/resources')
-rwxr-xr-x | dozentenmodul/src/main/resources/txt/vmx_template | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dozentenmodul/src/main/resources/txt/vmx_template b/dozentenmodul/src/main/resources/txt/vmx_template new file mode 100755 index 00000000..64b8c168 --- /dev/null +++ b/dozentenmodul/src/main/resources/txt/vmx_template @@ -0,0 +1,70 @@ +#!/usr/bin/vmware +.encoding = "UTF-8" +config.version = "8" + +# general hardware (ehci, 3d accel) +ehci.present = "TRUE" +mks.gl.allowBlacklistedDrivers = "TRUE" +mks.enable3d = "FALSE" + +monitor.virtual_mmu = "automatic" +monitor.virtual_exec = "automatic" + +# id +virtualHW.version = "7" +displayName = "%VM_DISPLAY_NAME%" +guestOS = "%VM_GUEST_OS%" + +# CPU/MEM +numvcpus = "%VM_CPU_COUNT%" +cpuid.coresPerSocket = "%VM_CPU_COUNT%" +maxvcpus = "%VM_CPU_COUNT%" +memsize = "%VM_RAM_SIZE%" +MemAllowAutoScaleDown = "FALSE" +MemTrimRate = "-1" + +# ide-disks +ide0:0.present = "TRUE" +ide0:0.fileName = "%VM_DISK_PATH%" +ide1:0.present = "TRUE" +ide1:0.autodetect = "TRUE" +ide1:0.fileName = "auto detect" +ide1:0.deviceType = "cdrom-raw" + +# nics +ethernet0.present = "TRUE" +ethernet0.addressType = "static" +ethernet0.virtualDev = "e1000" +ethernet0.connectionType = "hostonly" +ethernet0.vnet = "/dev/vmnet1" +ethernet0.address = "00:50:56:15:00:4E" +ethernet0.wakeOnPcktRcv = "FALSE" + +# sound +sound.present = "TRUE" +sound.fileName = "-1" +sound.autodetect = "TRUE" +sound.virtualdev = "es1371" + +# svga +svga.autodetect = "TRUE" + +# usb +usb.present = "TRUE" +usb.generic.autoconnect = "TRUE" + +# pci configuration +usb.pciSlotNumber = "16" +ethernet0.pciSlotNumber = "17" +sound.pciSlotNumber = "18" +ehci.pciSlotNumber = "19" + +# dirs/configs +mainMem.useNamedFile = "TRUE" +snapshot.disabled = "TRUE" +tools.syncTime = "TRUE" +isolation.tools.hgfs.disable = "FALSE" +hgfs.mapRootShare = "TRUE" +isolation.tools.dnd.disable = "FALSE" +isolation.tools.copy.enable = "TRUE" +isolation.tools.paste.enabled = "TRUE" |