-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
quiz-config
43 lines (32 loc) · 992 Bytes
/
quiz-config
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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Copyright (c) 2023, Rob Norris <robn@despairlabs.com>
# default config for 'quiz', including generated config
# don't change this, override in quiz.cfg
# kernel version to use
QUIZ_KERNEL_VERSION=6.1
# root system to use
#QUIZ_DEBIAN_RELEASE="bullseye"
QUIZ_DEBIAN_RELEASE="bookworm"
# default profile set (-p will override)
QUIZ_PROFILE=""
# extra options to be passed to the kernel or qemu
QUIZ_KERNEL_OPTS=""
QUIZ_QEMU_OPTS=""
# profile: blockdev
QUIZ_BLOCKDEV_COUNT=2
QUIZ_BLOCKDEV_SIZE=100M
# profile: memdev
QUIZ_MEMDEV_COUNT=2
QUIZ_MEMDEV_SIZE=100M
# load user config
RUNDIR=$(realpath $(dirname $0))
if [[ -f $RUNDIR/quiz.cfg ]] ; then
source $RUNDIR/quiz.cfg
fi
QUIZ_USR_MERGED=0
if [[ $QUIZ_DEBIAN_RELEASE == "bookworm" ]] ; then
QUIZ_USR_MERGED=1
fi
# vim: ft=bash