forked from openSUSE/obs-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xen.conf
35 lines (29 loc) · 1.3 KB
/
xen.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#============================================================================
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
memory = 64
# name = "bsbuild01"
# 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
#----------------------------------------------------------------------------
# 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.
# disk = [ 'file:/tmp/xentest.img,hda1,w' ]
# Set root device.
root = "/dev/hda1 ro"
# Sets init=build, reboot on panic
extra = "init=/bin/bash console=ttyS0 panic=1"
on_poweroff = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'