# ===================================================================== # Example PV Linux guest configuration # ===================================================================== # # This is a fairly minimal example of what is required for a # Paravirtualised Linux guest. For a more complete guide see xl.cfg(5) # Guest name name = "ubuntu-16_04" # 128-bit UUID for the domain as a hexadecimal number. # Use "uuidgen" to generate one if required. # The default behavior is to generate a new UUID each time the guest is started. #uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" # Kernel image to boot #kernel = "~/vmlinuz" # Ramdisk (optional) #ramdisk = "~/initrd.gz" bootloader="/usr/lib/xen-4.6/bin/pygrub" bootloader_arg = ['--output-directory=/usr/local/xen/small/access'] # Kernel command line options #extra = "root=/dev/xvda1" #extra = "root=file:/usr/local/xen/small/sda1.img" # Initial memory allocation (MB) memory = 256 # Maximum memory (MB) # If this is greater than `memory' then the slack will start ballooned # (this assumes guest kernel support for ballooning) #maxmem = 512 # Number of VCPUS vcpus = 2 # Network devices # A list of 'vifspec' entries as described in # docs/misc/xl-network-configuration.markdown vif = ['bridge=xenbr0'] # Disk Devices # A list of `diskspec' entries as described in # docs/misc/xl-disk-configuration.txt #disk = [ '/dev/vg/guest-volume,raw,xvda,rw' ] disk = ['file:/usr/local/xen/small/sda1.img,xvda,w'] on_reboot = "restart" on_crash = "restart"