Created
June 8, 2020 17:25
-
-
Save FlorianHeigl/cf22124225d4767f91ecf124736d4069 to your computer and use it in GitHub Desktop.
OpenNebula Windows 2019 Template
This file contains 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
CONTEXT = [ | |
FILES_DS = "$FILE[IMAGE=\"addon-context-windows-msi\", IMAGE_UNAME=\"oneadmin\"]", | |
NETWORK = "YES", | |
SET_HOSTNAME = "zxzz" ] | |
CPU = "2" | |
CPU_MODEL = [ | |
MODEL = "host-passthrough" ] | |
DESCRIPTION = "template" | |
DISK = [ | |
CACHE = "none", | |
DEV_PREFIX = "sd", | |
DRIVER = "raw", | |
IMAGE = "w2019-zfs", | |
IMAGE_UNAME = "oneadmin", | |
IO = "native" ] | |
FEATURES = [ | |
ACPI = "yes", | |
APIC = "yes", | |
GUEST_AGENT = "yes", | |
HYPERV = "no", | |
LOCALTIME = "yes", | |
PAE = "no", | |
VIRTIO_SCSI_QUEUES = "8" ] | |
GRAPHICS = [ | |
KEYMAP = "en-us", | |
LISTEN = "0.0.0.0", | |
TYPE = "SPICE" ] | |
HYPERVISOR = "kvm" | |
INPUT = [ | |
BUS = "usb", | |
TYPE = "tablet" ] | |
INPUTS_ORDER = "" | |
LOGO = "images/logos/windows8.png" | |
MEMORY = "6144" | |
MEMORY_UNIT_COST = "MB" | |
NIC = [ | |
NETWORK = "zz", | |
NETWORK_UNAME = "oneadmin", | |
SECURITY_GROUPS = "0" ] | |
NIC_DEFAULT = [ | |
MODEL = "virtio" ] | |
OS = [ | |
ARCH = "x86_64", | |
BOOT = "disk0", | |
MACHINE = "q35" ] | |
RAW = [ | |
DATA = "<interface type='network'> | |
<model type='virtio'/> | |
<driver name='vhost'> | |
<guest csum='off' tso4='off' tso6='off'/> | |
</driver> | |
</interface> | |
<features> | |
<acpi/> | |
<apic/> | |
<hyperv> | |
<relaxed state='on'/> | |
<runtime state='on' /> | |
<spinlocks state='on' retries='4096'/> | |
<stimer state='on'/> | |
<synic state='on'/> | |
<vapic state='on'/> | |
<vendor_id state='on' value='KVM hv_emu'/> | |
<vpindex state='on'/> | |
</hyperv> | |
<kvm> | |
<hidden state='on'/> | |
</kvm> | |
</features> | |
<devices> | |
<panic model='hyperv'/> | |
</devices> | |
<clock offset='localtime'> | |
<timer name='hypervclock' present='yes'/> | |
<timer name='rtc' tickpolicy='catchup'/> | |
<timer name='pit' tickpolicy='delay'/> | |
<timer name='hpet' present='no'/> | |
</clock> | |
<cpu mode='host-passthrough'> | |
<topology sockets='1' cores='2' threads='1'/> | |
<cache mode='passthrough'/> | |
<feature policy='disable' name='rtm'/> | |
<feature policy='disable' name='hle'/> | |
<feature policy='disable' name='invpcid'/> | |
<feature policy='disable' name='bmi2'/> | |
<feature policy='disable' name='avx2'/> | |
<feature policy='disable' name='bmi1'/> | |
<feature policy='disable' name='movbe'/> | |
<feature policy='disable' name='fma'/> | |
<feature policy='require' name='nx'/> | |
</cpu> | |
<devices> | |
<rng model='virtio'> | |
<rate period=\"2000\" bytes=\"1234\"/> | |
<backend model='random'>/dev/urandom</backend> | |
</rng> | |
</devices> | |
", | |
TYPE = "kvm" ] | |
SCHED_REQUIREMENTS = "ID=\"2\"" | |
VCPU = "2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment