Support for logging to database via grml-live-db. Changed logic of ZERO_LOGFILE to...
[grml-live.git] / etc / grml / grml-live.conf
1 # Filename:      /etc/grml/grml-live.conf
2 # Purpose:       main configuration file for grml-live
3 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports:   see http://grml.org/bugs/
5 # License:       This file is licensed under the GPL v2 or any later version.
6 ################################################################################
7 # !!!!!! IMPORTANT NOTE !!!!!
8 # This file is meant as a reference. Please adjust your local configuration
9 # via /etc/grml/grml-live.local instead as this file is marked as configuration
10 # file in your package management.
11 # !!!!!! IMPORTANT NOTE !!!!!
12 ################################################################################
13
14 # Main output directory
15 # Please notice that you need suid,dev,rw permissions there
16 # OUTPUT="/grml/grml-live"
17 # You have enough RAM? Use shared memory for fast testing-purposes:
18 # OUTPUT="/dev/shm" # mount -o remount,suid,dev,rw /dev/shm
19
20 # Where do want to find the chroot of the buildprocess files?
21 # CHROOT_OUTPUT="$OUTPUT/grml_chroot"
22 # Where do you want to find the compressed chroot, bootstuff,...?
23 # BUILD_OUTPUT="$OUTPUT/grml_cd"
24 # Where do you want to find the final ISO?
25 # ISO_OUTPUT="$OUTPUT/grml_isos"
26
27 # Do you want to preserve the logfile from being cleaned after each execution
28 # of grml-live? By default the logfile is cleaned so the log doesn't fill up.
29 # If you want to store your logs permanently it's recommended to use grml-live-db.
30 # PRESERVE_LOGFILE='1'
31
32 # If package grml-live-db is installed the package selection and grml-live.log
33 # are being logged to to a sqlite database.Defaults to /var/log/grml-live.db
34 # DPKG_DATABASE=/var/log/grml-live.db
35
36 # Use your own database wrapper script for grml-live-db:
37 # DPKG_DBSCRIPT=/usr/share/grml-live-db/scripts/dpkg-to-db
38
39 # Use your own database script cmdline options for grml-live-db:
40 # DPKG_DBOPTIONS="-d $DPKG_DATABASE --logfile $LOGFILE --flavour $GRML_NAME < $DPKG_LIST"
41
42 # Do you want to zero / clean up / remove the previous logfiles of FAI
43 # before executing grml-live? Otherwise keep all the logfiles inside
44 # /var/log/fai/$HOSTNAME/...
45 # Default: unset (so do not remove the logfile(s))
46 # ZERO_FAI_LOGFILE='1'
47
48 # Which Debian suite to you want to use? Unless it is set it defaults to "lenny"
49 # Supported values are: etch, lenny, sid
50 #                       squeeze -> requires /etc/grml/fai/config/basefiles/....tar.gz
51 #                                  or a recent version of debootstrap
52 # SUITE="lenny"
53
54 # Which FAI classes do you want to use by default?#
55
56 # Notice: GRMLBASE is recommended in any case unless you *really* know what you
57 # are doing; make sure to also use a GRML_* class (for example GRML_SMALL,
58 # GRML_MEDIUM or GRML_FULL) to get an according kernel and also select the
59 # architecture (I386 for x86; AMD64 for x86_64)
60 # CLASSES="GRMLBASE,GRML_MEDIUM,I386"
61
62 ## Which mirrors do you want to use? Please set GRML_LIVE_SOURCES *and*
63 ## *FAI_DEBOOTSTRAP* accordingly. To use a local directory (like an NFS mount)
64 ## check out MIRROR_DIRECTORY and MIRROR_SOURCES as well.
65
66 # Which Debian mirror do you want to use for main packages (after debootstrapping
67 # has been finished)?
68 # If you do *not* set GRML_LIVE_SOURCES here then grml-live will just take what
69 # /etc/grml/fai/apt/sources.list provides by default. But please do *not*
70 # manually edit /etc/grml/fai/apt/sources.list but instead use $GRML_LIVE_SOURCES.
71 # Use the variable as your /etc/apt/sources.list looks like.
72 # GRML_LIVE_SOURCES="
73 #deb http://deb.grml.org/            grml-stable  main
74 #deb http://deb.grml.org/            grml-testing main
75 #deb http://192.168.1.112/debian     lenny     main contrib non-free
76 #deb http://cdn.debian.net/debian etch         main contrib non-free
77 #"
78
79 # Which Debian suite and which mirror do you want to use for debootstrapping?
80 # Unless specified the default from /etc/grml/fai/make-fai-nfsroot.conf will be
81 # taken. If you specify a value then the file /etc/grml/fai/make-fai-nfsroot.conf
82 # will be updated by grml-live on-the-fly.
83 # Usage: "<suite> <mirror>"
84 # FAI_DEBOOTSTRAP="lenny http://cdn.debian.net/debian"
85
86 # Do you want to use a local mirror (like NFS) as well?
87 # If so specify the directory where debian/ is available:
88 # MIRROR_DIRECTORY="/mnt/mirror"
89 # ... and the sources.list entry for the directory:
90 # MIRROR_SOURCES="deb file:///mnt/mirror/debian sid main contrib non-free"
91
92 # Version number of ISO:
93 # VERSION="0.0-1"
94
95 # Name of the release:
96 # RELEASENAME="grml-live rocks"
97
98 # Which "grml flavour name" do you want to use?
99 # Common usage examples: grml, grml-small, grml64,...
100 # GRML_NAME="grml"
101
102 # Specify hostname of the live-system:
103 # HOSTNAME=grml
104
105 # Specify user with UID 1000 on live-system:
106 # USERNAME=grml
107
108 # Specify options for Squashfs build stage (running mksquashfs):
109 # SQUASHFS_OPTIONS="-nolzma"
110
111 # Which bootloader do you want to use? Default: isolinux
112 # Supported values: isolinux, grub
113 # BOOT_METHOD='isolinux'
114
115 # Directory of configuration files for grml-live's FAI:
116 # GRML_FAI_CONFIG=/etc/grml/fai
117
118 # Do you want to put any local files into the chroot?
119 # If so then point CHROOT_INSTALL to a directory providing the files.
120 # Note: the files are installed under '/' in the chroot -
121 # so you have to create the rootfs structure on your own.
122 # CHROOT_INSTALL="$GRML_FAI_CONFIG/chroot_install"
123
124 # Do you want to pass any additional arguments to FAI?
125 # FAI_ARGS=""
126
127 # Where do you want to store grml-live.log?
128 # LOGDIR="/var/log/fai/$HOSTNAME/last"
129
130 # Which architecture do you want to build?
131 # It defaults to output of 'dpkg --print-architecture'
132 # ARCH="i386"
133
134 # Name of distribution that should be build. By default
135 # it's "grml", if you want to adjust please make sure
136 # your distri name is just one single word so it
137 # works on the boot prompt.
138 # DISTRI_NAME="grml"
139
140 # Short information about the distribution. Default:
141 # DISTRI_INFO="Grml - Live Linux for system administrators   "
142
143 # Bootsplash background image use in isolinux configuration
144 # Note: not relevant if using non-default ISOLINUX_METHOD="console".
145 # DISTRI_SPLASH='grml.png'
146
147 # Do you want to use your own templates? If so set the
148 # template directory but please make sure it looks
149 # likes the default directory [/usr/share/grml-live/templates]
150 # TEMPLATE_DIRECTORY='/usr/share/grml-live/templates'
151
152 # Do you want to use console based isolinux boot splash
153 # instead of the default graphical menu?
154 # ISOLINUX_METHOD="console"
155
156 # Do you want to skip adding /boot/addons/ (from the template directory)?
157 # NO_ADDONS='1'
158
159 # Do you want to skip adding /boot/addons/bsd4grml/ (from the template directory)?
160 # NO_ADDONS_BSD4GRML='1'
161
162 # By default the ISO is created for hybrid boot, so you can either
163 # boot the CD using normal el torito mode or copy it to USB device
164 # *without* having to run grml2usb (like: 'dd if=grml.iso of=/dev/sdX')
165 # - working both with the same ISO
166 # HYBRID_METHOD='disable'   # do not create a hybrid ISO
167 # HYBRID_METHOD='isohybrid' # use isohybrid instead of the default (being manifold)
168
169 # Binary that should be used for creating the squashfs file.
170 # Defaults to mksquashfs-lzma if available or falls back to mksquashfs.
171 # SQUASHFS_BINARY='mksquashfs'
172
173 # exclude files from compressed squashfs file using the
174 # the mksquashfs option -ef:
175 # SQUASHFS_EXCLUDES_FILE="/etc/grml/fai/squashfs-excludes"
176
177 # Skip download of pageant, plink, pscp, psftp, putty and puttygen
178 # using wget to store it inside $BUILD_OUTPUT/windows/?
179 # NO_WINDOWS_BINARIES="1"
180 # URL for downloading the windows files:
181 # WINDOWS_BINARIES="http://the.earth.li/~sgtatham/putty/latest/x86/"
182
183 # Do you want to exit grml-live if some packages were requested for installation
184 # on fresh installs but are missing on the generated ISO finally?
185 # By default the package list is sent to stdout but grml-live doesn't interrupt.
186 # EXIT_ON_MISSING_PACKAGES=1
187
188 ## END OF FILE #################################################################