summaryrefslogtreecommitdiff
blob: 429a16505156c69ad8975cf2fcb50334d8e03eba (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/bin/bash
#This script is generated by http://bugs.gentoo.org/show_bug.cgi?id=112407 and the domi.man file
#domi - xen domain installer /etc/domi.conf
#domi is a shell script which sets up virtual machines.  It creates
#virtual disks using either LVM or image files and installs a linux
#distribution on the newly created disk.
#
#domi reads the configuration from /etc/domi.conf and the config file
#passed on the command line.  Then goes ahead and sets up the virtual
#disk without asking further questions, so be careful.
#The config files are simply sourced.  Thus the syntax for setting the
#config options is the usual shell variable style, i.e. VAR="value",
#hashmark works for comments and so on.
############################################
#DOMI_NAME="myexample"  # Required
DOMI_NAME=" "

##Name of the virtual machine.
#Distribution to install.  Valid choices are suse, fedora, debian and gentoo.
#DOMI_DISTRO="gentoo" #  Required.
DOMI_DISTRO=""

#DOMI_CACHE Location where downloaded files are cached.
#Default: /var/cache/domi
DOMI_CACHE="/var/cache/domi"

#DOMI_FSTYPE File system to use
#Default: ext2
DOMI_FSTYPE="ext2"

#DOMI_PASSWD Initial root password
#Default: root
DOMI_PASSWD="secret"

#DOMI_VDISK
#Name of the virtual disk (inside the vm).  "xvda" should do just
#fine with all modern, udev-based distros which create the device
#nodes automatically.  In case of trouble you can try "hda" instead.
#Default: xvda
DOMI_VDISK="xvda"

#DOMI_XEN_CONF
#Recommended.
#If specified the script writes a initial Xen config file to the given
#location.
#DOMI_XEN_CONF="/etc/xen/auto/myexample-startscript"
DOMI_XEN_CONF=" "

#DOMI_XEN_KERNEL Xen kernel (for the Xen config file).
#Default: /boot/vmlinuz-xen
#DOMI_XEN_KERNEL="/path/to/the/DomU-kernel"
DOMI_XEN_KERNEL=""

#DOMI_XEN_MEMORY
#Main memory (for the Xen config file, in megabytes).
#Default: 128
DOMI_XEN_MEMORY="128"

#DOMI_DISK_VG
#LVM volume group to use for storage.  If specied the script will
#create a volume with DOMI_NAME in that volume group and use it to
#setup the virtual disk.
#Recommended.
#DOMI_DISK_VG="volg-md9"# without a "/"
DOMI_DISK_VG=""

#DOMI_DISK_FILE
#If you don't use LVM you can specify an image file to use for the
#virtual disk.  Setting either DOMI_DISK_VG or DOMI_DISK_FILE is
#required.
#DOMI_DISK_FILE="/path/to/my/myexample.file"
DOMI_DISK_FILE=""

#DOMI_DISK_SPARSE
#Set this to some non-empty value to make domi use sparse file for the
#disk images.  Has no effect if you use LVM.

#DOMI_DISK_SIZE
#Default: 4096
#Size of the virtual disk, in megabytes.
DOMI_DISK_SIZE="4096"

#DOMI_SWAP_SIZE
#Default: 256
#Size of the swap partition, in megabytes.
DOMI_SWAP_SIZE="256"

#DOMI_ROOT_SIZE
#Default: DOMI_DISK_SIZE - DOMI_SWAP_SIZE
#Size if the root filesystem, in megabytes

#DOMI_HOOK_POST
#Custom postinstall script to run.

###################