# The values in comments are the defaults.

"/Runner":
  # The directory used to store data files. Defaults to (depending on 
  # values available):
  #  * $XDG_DATA_HOME/vmrunner/${vm.name}
  #  * $HOME/.local/share/vmrunner/${vm.name}
  #  * ./${vm.name}
  # "dataDir": "$XDG_DATA_HOME"
  
  # The directory used to store runtime files. Defaults to (depending on 
  # values available):
  #  * $XDG_RUNTIME_DIR/vmrunner/${vm.name}
  #  * /tmp/${USER}/vmrunner/${vm.name}
  #  * /tmp/vmrunner/${vm.name}
  # "runtimeDir": "$XDG_RUNTIME_DIR/vmrunner/${vm.name}"
  
  # The template to use. Resolved relative to /usr/share/vmrunner/templates.
  # "template": "Standard-VM-latest.ftl.yaml"

  # The template is copied to the data diretory when the VM starts for
  # the first time. Subsequent starts use the copy unless this option is set.
  # "updateTemplate": false

  # Define the VM (required)
  "vm":
    # The VM's name (required)
    "name": "test-vm"
    
    # The machine's uuid. If none is specified, a uuid is generated
    # and stored in the data directory. If the uuid is important
    # (e.g. because licenses depend on it) it is recommaned to specify
    # it here explicitly or to carefully backup the data directory.
    # "uuid": "generated uuid"
    
    # Whether to provide a software TPM (defaults to false)
    # "useTpm": false
    
    # How to boot:
    #  * bios
    #  * uefi
    #  * secure
    # "bootMode": "uefi"
    
    # When terminating, a graceful powerdown is attempted. If it
    # doesn't succeed within the given timeout (seconds) SIGTERM
    # is sent to Qemu.
    # "powerdownTimeout": 60
    
    # RAM settings
    # "maximumRam": "1G"
    # "currentRam": "1G"
    
    # CPU settings
    # "cpuModel": "host"
    # Setting maximumCpus to 1 omits the "-smp" options. The defaults (0)
    # cause the corresponding property to be omitted from the "-smp" option.
    # If currentCpus is greater than maximumCpus, the latter is adjusted.
    # "maximumCpus": 1
    # "currentCpus": 1
    # "cpuSockets": 0
    # "diesPerSocket": 0
    # "coresPerSocket": 0
    # "threadsPerCore": 0
    # "accelertor": "kvm"
    
    # RTC settings.
    # "rtcBase": "utc"
    # "rtcClock": "rt"
    
    "drives":
    - "type": "ide-cd"
      "bootindex": (undefined)
      "file": (undefined)
      
    # "spice":
    #   "port": 5900
    #   "usbRedirects": 2
      