Skip to content
Snippets Groups Projects
Commit c5081cba authored by ulisse's avatar ulisse
Browse files

added templates and settings for win10 VM

vm-start: fullscreen with vboxsdl is buggy on some systems (such as lab 130 machines). It's better to use virtualbox command until we find how to fix it
parent 05f25a59
No related branches found
No related tags found
No related merge requests found
# VM name in VirtualBox
VM_NAME="Windows 10"
# OS type
OS_TYPE="Windows10_64"
# VM template
TEMPLATE="win10"
# snapshot name
SNAPSHOT_NAME="shortcut"
# start vm in fullscreen mode
FULLSCREEN=0
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.15-linux">
<Machine uuid="{76a00da0-9704-4643-8ccd-d2eb5b175233}" name="Windows 10-bak" OSType="Windows10_64" currentSnapshot="{52189569-afd5-4385-8ef3-1180353e6167}" snapshotFolder="/var/tmp/vbox-user" lastStateChange="2016-08-24T09:05:15Z">
<Description>Windows 10 Pro - Laboratorio di Informatica - DiSIT - Universit&#xE0; del Piemonte Orientale</Description>
<MediaRegistry>
<HardDisks>
<HardDisk uuid="{7a259ee1-8aac-4f13-9c56-62a968d30715}" location="/opt/vm-images/win10/win10-lab.vdi" format="VDI" type="Immutable">
<HardDisk uuid="{63449c8f-9e5b-4908-9348-c1719cee9414}" location="/opt/vm-images/win10/{63449c8f-9e5b-4908-9348-c1719cee9414}.vdi" format="VDI" autoReset="true">
<HardDisk uuid="{322eb68e-b7c5-4981-97ea-3a763dbd563a}" location="/opt/vm-images/win10/{322eb68e-b7c5-4981-97ea-3a763dbd563a}.vdi" format="VDI" autoReset="true"/>
</HardDisk>
</HardDisk>
</HardDisks>
</MediaRegistry>
<ExtraData>
<ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
<ExtraDataItem name="GUI/LastGuestSizeHint" value="1024,756"/>
<ExtraDataItem name="GUI/LastNormalWindowPosition" value="3,60,1024,801"/>
<ExtraDataItem name="GUI/RestrictedRuntimeDevicesMenuActions" value="HardDrives"/>
<ExtraDataItem name="GUI/RestrictedRuntimeMachineMenuActions" value="SaveState,PowerOff"/>
<ExtraDataItem name="GUI/ScaleFactor" value="1"/>
<ExtraDataItem name="GUI/StatusBar/IndicatorOrder" value="HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Display,VideoCapture,Features,Mouse,Keyboard"/>
</ExtraData>
<Snapshot uuid="{52189569-afd5-4385-8ef3-1180353e6167}" name="shortcut" timeStamp="2016-08-24T08:53:35Z" stateFile="/opt/vm-images/win10/2016-08-24T08-53-35-277407000Z.sav">
<Hardware uuid="{d49b62b7-6239-4a99-94fa-df0431510063}">
<CPU>
<PAE enabled="true"/>
<LongMode enabled="true"/>
<HardwareVirtExLargePages enabled="false"/>
</CPU>
<Memory RAMSize="1536"/>
<HID Pointing="USBTablet"/>
<Paravirt provider="Default"/>
<Display VRAMSize="128" accelerate2DVideo="true"/>
<RemoteDisplay enabled="false">
<VRDEProperties>
<Property name="TCP/Ports" value="3389"/>
</VRDEProperties>
</RemoteDisplay>
<BIOS>
<IOAPIC enabled="true"/>
</BIOS>
<USB>
<Controllers>
<Controller name="OHCI" type="OHCI"/>
</Controllers>
</USB>
<Network>
<Adapter slot="0" enabled="true" MACAddress="" cable="true" type="82540EM">
<NAT/>
</Adapter>
<Adapter slot="1" cable="true" type="82540EM"/>
<Adapter slot="2" cable="true" type="82540EM"/>
<Adapter slot="3" cable="true" type="82540EM"/>
<Adapter slot="4" cable="true" type="82540EM"/>
<Adapter slot="5" cable="true" type="82540EM"/>
<Adapter slot="6" cable="true" type="82540EM"/>
<Adapter slot="7" cable="true" type="82540EM"/>
</Network>
<LPT>
<Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
</LPT>
<AudioAdapter controller="HDA" driver="Pulse" enabled="true"/>
<SharedFolders>
<SharedFolder name="linux" hostPath="/root" writable="true" autoMount="true"/>
<SharedFolder name="media" hostPath="/root/vbox_media" writable="true" autoMount="true"/>
</SharedFolders>
<Clipboard mode="Bidirectional"/>
<DragAndDrop mode="Bidirectional"/>
<GuestProperties>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxControl.exe" value="5.1.2r108956" timestamp="1472028654037440000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxCredProv.dll" value="-" timestamp="1472028654895703000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxDisp.dll" value="-" timestamp="1472028654098284000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGINA.dll" value="-" timestamp="1472028654895294000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGuest.sys" value="5.1.2r108956" timestamp="1472028655224485000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxHook.dll" value="5.1.2r108956" timestamp="1472028654097709000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMMR.exe" value="-" timestamp="1470914528640926000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMMRHook.dll" value="-" timestamp="1470914528641406000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMRXNP.dll" value="5.1.2r108956" timestamp="1472028654894507000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMouse.sys" value="5.1.2r108956" timestamp="1472028655225917000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGL.dll" value="-" timestamp="1472028654985543000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLarrayspu.dll" value="-" timestamp="1472028654983456000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLcrutil.dll" value="-" timestamp="1472028654983905000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLerrorspu.dll" value="-" timestamp="1472028654984273000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLfeedbackspu.dll" value="-" timestamp="1472028654985300000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpackspu.dll" value="-" timestamp="1472028654984707000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpassthroughspu.dll" value="-" timestamp="1472028654985035000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxSF.sys" value="4.3.38r106717" timestamp="1472028655227247000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxService.exe" value="5.1.2r108956" timestamp="1472028654525703000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxTray.exe" value="5.1.2r108956" timestamp="1472028654525168000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxVideo.sys" value="-" timestamp="1472028655227625000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="5.1.2" timestamp="1472028768493796000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/InstallDir" value="C:/Program Files/Oracle/VirtualBox Guest Additions" timestamp="1472028653802946000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Revision" value="108956" timestamp="1472028653802425000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.1.2" timestamp="1472028653799430000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.1.2" timestamp="1472028653800653000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="0800276E3F0C" timestamp="1472028655540891000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1472028655540694000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="255.255.255.255" timestamp="1472028655540403000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="10.0.2.15" timestamp="1472028655540040000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1472028655540510000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="1" timestamp="1472028812826036000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Windows 10" timestamp="1472028653793699000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="10.0.10586" timestamp="1472028653793870000" flags=""/>
<GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1472028758172824000" flags=""/>
</GuestProperties>
</Hardware>
<StorageControllers>
<StorageController name="SATA" type="AHCI" PortCount="2" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<Image uuid="{63449c8f-9e5b-4908-9348-c1719cee9414}"/>
</AttachedDevice>
<AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
</StorageController>
</StorageControllers>
</Snapshot>
<Hardware uuid="{d49b62b7-6239-4a99-94fa-df0431510063}">
<CPU>
<PAE enabled="true"/>
<LongMode enabled="true"/>
<HardwareVirtExLargePages enabled="false"/>
</CPU>
<Memory RAMSize="1536"/>
<HID Pointing="USBTablet"/>
<Paravirt provider="Default"/>
<Display VRAMSize="128" accelerate2DVideo="true"/>
<RemoteDisplay enabled="false">
<VRDEProperties>
<Property name="TCP/Ports" value="3389"/>
</VRDEProperties>
</RemoteDisplay>
<BIOS>
<IOAPIC enabled="true"/>
</BIOS>
<USB>
<Controllers>
<Controller name="OHCI" type="OHCI"/>
</Controllers>
</USB>
<Network>
<Adapter slot="0" enabled="true" MACAddress="" cable="true" type="82540EM">
<NAT/>
</Adapter>
<Adapter slot="1" cable="true" type="82540EM"/>
<Adapter slot="2" cable="true" type="82540EM"/>
<Adapter slot="3" cable="true" type="82540EM"/>
<Adapter slot="4" cable="true" type="82540EM"/>
<Adapter slot="5" cable="true" type="82540EM"/>
<Adapter slot="6" cable="true" type="82540EM"/>
<Adapter slot="7" cable="true" type="82540EM"/>
</Network>
<LPT>
<Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
</LPT>
<AudioAdapter controller="HDA" driver="Pulse" enabled="true"/>
<SharedFolders>
<SharedFolder name="linux" hostPath="/root" writable="true" autoMount="true"/>
<SharedFolder name="media" hostPath="/root/vbox_media" writable="true" autoMount="true"/>
</SharedFolders>
<Clipboard mode="Bidirectional"/>
<DragAndDrop mode="Bidirectional"/>
<GuestProperties>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxControl.exe" value="5.1.2r108956" timestamp="1472028654037440000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxCredProv.dll" value="-" timestamp="1472028654895703000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxDisp.dll" value="-" timestamp="1472028654098284000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGINA.dll" value="-" timestamp="1472028654895294000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGuest.sys" value="5.1.2r108956" timestamp="1472028655224485000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxHook.dll" value="5.1.2r108956" timestamp="1472028654097709000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMMR.exe" value="-" timestamp="1470914528640926000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMMRHook.dll" value="-" timestamp="1470914528641406000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMRXNP.dll" value="5.1.2r108956" timestamp="1472028654894507000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMouse.sys" value="5.1.2r108956" timestamp="1472028655225917000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGL.dll" value="-" timestamp="1472028654985543000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLarrayspu.dll" value="-" timestamp="1472028654983456000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLcrutil.dll" value="-" timestamp="1472028654983905000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLerrorspu.dll" value="-" timestamp="1472028654984273000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLfeedbackspu.dll" value="-" timestamp="1472028654985300000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpackspu.dll" value="-" timestamp="1472028654984707000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpassthroughspu.dll" value="-" timestamp="1472028654985035000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxSF.sys" value="4.3.38r106717" timestamp="1472028655227247000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxService.exe" value="5.1.2r108956" timestamp="1472028654525703000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxTray.exe" value="5.1.2r108956" timestamp="1472028654525168000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxVideo.sys" value="-" timestamp="1472028655227625000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="5.1.2" timestamp="1472028768493796000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/InstallDir" value="C:/Program Files/Oracle/VirtualBox Guest Additions" timestamp="1472028653802946000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Revision" value="108956" timestamp="1472028653802425000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.1.2" timestamp="1472028653799430000" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.1.2" timestamp="1472028653800653000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="0800276E3F0C" timestamp="1472028655540891000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1472028655540694000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="255.255.255.255" timestamp="1472028655540403000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="10.0.2.15" timestamp="1472028655540040000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1472028655540510000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="1" timestamp="1472028812826036000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Windows 10" timestamp="1472028653793699000" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="10.0.10586" timestamp="1472028653793870000" flags=""/>
<GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1472028758172824000" flags=""/>
</GuestProperties>
</Hardware>
<StorageControllers>
<StorageController name="SATA" type="AHCI" PortCount="2" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<Image uuid="{322eb68e-b7c5-4981-97ea-3a763dbd563a}"/>
</AttachedDevice>
<AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
</StorageController>
</StorageControllers>
</Machine>
</VirtualBox>
......@@ -121,12 +121,12 @@ vm_start_run() {
# --fullscreen?
if [ "${FULLSCREEN}" == "1" ]; then
# VBoxManage has no option for fullscreen mode, use VBoxSDL (no menu available in fullscreen)
VBoxSDL --startvm "${VM_NAME}" --fullscreen &
# VBoxSDL --startvm "${VM_NAME}" --fullscreen &
# options below could be useful in setting the fullscreen resolution, when known
# --fullscreenresize --fixedmode 1152 864 32 &
#
# the following command can also be used to start the VM in fullscreen (GUI mode)
# /usr/bin/VirtualBox --startvm "${VM_NAME}" --fullscreen &
/usr/bin/VirtualBox --startvm "${VM_NAME}" --fullscreen &
else
VBoxManage startvm "${VM_NAME}"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment