Last active
August 29, 2015 14:15
-
-
Save ams0/34bbb48311c481877ceb to your computer and use it in GitHub Desktop.
Install W2012 on kvm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm' id='26'> | |
<name>windows</name> | |
<uuid>9acc18bc-e17f-9c71-bd1d-394d411a99f7</uuid> | |
<description>None</description> | |
<memory unit='KiB'>8388608</memory> | |
<currentMemory unit='KiB'>8388608</currentMemory> | |
<vcpu placement='static'>4</vcpu> | |
<resource> | |
<partition>/machine</partition> | |
</resource> | |
<os> | |
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type> | |
<boot dev='hd'/> | |
<boot dev='cdrom'/> | |
<bootmenu enable='yes'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<pae/> | |
</features> | |
<cpu mode='host-model'> | |
<model fallback='allow'/> | |
</cpu> | |
<clock offset='utc'/> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>restart</on_crash> | |
<devices> | |
<emulator>/usr/bin/kvm-spice</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2'/> | |
<source file='/raid10/instances/windows.img'/> | |
<target dev='vda' bus='virtio'/> | |
<alias name='virtio-disk0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file='/raid10/iso/en_windows_server_2012_r2_vl_x64_dvd_3319595.iso'/> | |
<target dev='hda' bus='ide'/> | |
<readonly/> | |
<alias name='ide0-1-1'/> | |
<address type='drive' controller='0' bus='1' target='0' unit='1'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file='/raid10/iso/virtio-win-0.1-81.iso'/> | |
<target dev='hda' bus='ide'/> | |
<readonly/> | |
<alias name='ide0-1-0'/> | |
<address type='drive' controller='0' bus='1' target='0' unit='0'/> | |
</disk> | |
<controller type='usb' index='0'> | |
<alias name='usb0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> | |
</controller> | |
<controller type='pci' index='0' model='pci-root'> | |
<alias name='pci.0'/> | |
</controller> | |
<controller type='ide' index='0'> | |
<alias name='ide0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> | |
</controller> | |
<interface type='bridge'> | |
<mac address='52:54:00:0e:4c:ea'/> | |
<source bridge='br0'/> | |
<target dev='vnet2'/> | |
<model type='virtio'/> | |
<alias name='net0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | |
</interface> | |
<serial type='pty'> | |
<source path='/dev/pts/1'/> | |
<target port='0'/> | |
<alias name='serial0'/> | |
</serial> | |
<console type='pty' tty='/dev/pts/1'> | |
<source path='/dev/pts/1'/> | |
<target type='serial' port='0'/> | |
<alias name='serial0'/> | |
</console> | |
<input type='tablet' bus='usb'> | |
<alias name='input0'/> | |
</input> | |
<input type='mouse' bus='ps2'/> | |
<input type='keyboard' bus='ps2'/> | |
<graphics type='vnc' port='5902' autoport='yes' listen='0.0.0.0'> | |
<listen type='address' address='0.0.0.0'/> | |
</graphics> | |
<video> | |
<model type='cirrus' vram='9216' heads='1'/> | |
<alias name='video0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
</video> | |
<memballoon model='virtio'> | |
<alias name='balloon0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | |
</memballoon> | |
</devices> | |
<seclabel type='none'/> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment