#============================================================================ # Example configuration script for Devuan guest installation. #============================================================================ # # To install uncomment the relevant options under either the network # or CDROM install section in "AT INSTALLATION TIME" below. # # Once you have installed you should comment out the installation options again # (or just delete them) and uncomment the options under "TO BOOT INSTALLED # SYSTEM" instead. #============================================================================ # AT INSTALLATION TIME #============================================================================ #---------------------------------------------------------------------------- # Network install: #---------------------------------------------------------------------------- # # Download vmlinuz and initrd.gz from the same location as this file. # # e.g. depending on the architecture you wish to install: # http://http.mirrors.devuan.org/devuan/dists/stable/main/installer-amd64/current/images/netboot/xen/ # where XX is a country code, see http://www.devuan.org/mirror/list # for a complete list of official mirrors. "stable" can be any distro # name (e.g. squeeze, wheezy, jessie, stretch, testing, sid, unstable). # # Uncomment the "kernel" and "ramdisk" options and adjust the path to # point to the downloaded files. #kernel = "vmlinuz" #ramdisk = "initrd.gz" #---------------------------------------------------------------------------- # CDROM install: #---------------------------------------------------------------------------- # # Download an ISO image which supports installation under Xen. Typically these # are the amd64+i386 multiarch images. e.g. those under: # http://cdimage.devuan.org/devuan-cd/current/multi-arch/ # # Uncomment "bootloader" and the correct "bootloader_args" for the # architecture you wish to install. # # Be sure to configure a CDROM device with the installation image in # addition to your regular disk HDD in your disk stanza. # # e.g. for an ISO image: # file:/path/to/devuan-1.0.0-amd64-i386-netinst.iso,xvdd:cdrom,r # -or- if you have a phyiscal cdrom in your drive, phy: # phy:/dev/cdrom,xvdd:cdrom,r #bootloader="pygrub" # For i386: #bootloader_args="--kernel=install.i386/xen/vmlinuz --ramdisk=install.i386/xen/initrd.gz" # For amd64: #bootloader_args="--kernel=install.amd/xen/vmlinuz --ramdisk=install.amd/xen/initrd.gz" #---------------------------------------------------------------------------- # Installation options common to all methods #---------------------------------------------------------------------------- # # If you configure a vfb below then use "console=tty0" instead of # "console=hvc0". # # You can prepend your own command line options too #extra = "debian-installer/exit/always_halt=true -- quiet console=hvc0" #============================================================================ # TO BOOT INSTALLED SYSTEM # # Comment all of the above installation options and uncomment the # below instead #============================================================================ #bootloader="pygrub" #============================================================================ # STANDARD OPTIONS #============================================================================ # # The following options are common to both installation time and normal booting. # # Only a subset of the available options are included below. # See /usr/share/doc/xen-utils-common/examples for full examples. #---------------------------------------------------------------------------- # Initial memory allocation (in megabytes) for the new domain. memory = 128 # A name for your domain. All domains must have different names. name = "ExampleDomain" # 128-bit UUID for the domain. The default behavior is to generate a new UUID # on each call to 'xm create'. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #---------------------------------------------------------------------------- # Define network interfaces. # By default, no network interfaces are configured. You may have one created # with sensible defaults using an empty vif clause: # # vif = [''] # # or optionally override backend, bridge, ip, mac, script, type, or vifname: # # vif = ['mac=00:16:3e:00:00:11, bridge=xenbr0'] # # or more than one interface may be configured: # # vif = ['', 'bridge=xenbr1'] vif = [''] #---------------------------------------------------------------------------- # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see, # and MODE is r for read-only, w for read-write. # # NB: Only xvd devices are supported by the kernel in Debian Lenny and later. disk = ['file:/path/to/disk.img,xvda,w'] #---------------------------------------------------------------------------- # Define frame buffer device. # # By default, no frame buffer device is configured. # # To create one using the SDL backend and sensible defaults: # # vfb = [ 'type=sdl' ] # # This uses environment variables XAUTHORITY and DISPLAY. You # can override that: # # vfb = [ 'type=sdl,xauthority=/home/bozo/.Xauthority,display=:1' ] # # To create one using the VNC backend and sensible defaults: # # vfb = [ 'type=vnc' ] # # The backend listens on 127.0.0.1 port 5900+N by default, where N is # the domain ID. You can override both address and N: # # vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ] # # Or you can bind the first unused port above 5900: # # vfb = [ 'type=vnc,vnclisten=0.0.0.0,vnunused=1' ] # # You can override the password: # # vfb = [ 'type=vnc,vncpasswd=MYPASSWD' ] # # Empty password disables authentication. Defaults to the vncpasswd # configured in xend-config.sxp.