# -------------------------------------------------------------------------- # # Copyright 2002-2018, OpenNebula Project, OpenNebula Systems # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # not use this file except in compliance with the License. You may obtain # # a copy of the License at # # # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, software # # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # # limitations under the License. # #--------------------------------------------------------------------------- # # Default configuration attributes for the KVM driver # (all domains will use these values as defaults). These values can # be overridden in each VM template. Valid atributes are: # - emulator # - os [kernel,initrd,boot,root,kernel_cmd,arch,machine] # - vcpu # - features [acpi, pae, apic, hyperv, localtime, guest_agent, virtio_scsi_queues] # - disk [driver, cache, io, discard, total_bytes_sec, total_iops_sec, read_bytes_sec, write_bytes_sec, read_iops_sec, write_iops_sec] # - nic [filter, model] # - raw # - hyperv_options: options used for FEATURES = [ HYPERV = yes ] # NOTE: raw attribute value is appended to that on the VM template EMULATOR = /usr/bin/qemu-system-x86_64 #VCPU = 1 OS = [ arch = "x86_64" ] FEATURES = [ PAE = "no", ACPI = "yes", APIC = "no", HYPERV = "no", GUEST_AGENT = "no", VIRTIO_SCSI_QUEUES = "0" ] DISK = [ driver = "raw" , cache = "none"] #NIC = [ filter = "clean-traffic", model="virtio" ] #RAW = "" HYPERV_OPTIONS="" SPICE_OPTIONS=" "