-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathquiz-config
46 lines (35 loc) · 1.03 KB
/
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
44
45
46
# SPDX-License-Identifier: MPL-2.0
#
# 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-2025, Rob Norris <[email protected]>
# default config for 'quiz', including generated config
# don't change this, override in quiz.cfg
# local machine architecture (-a will override)
QUIZ_ARCH=$(uname -m)
# kernel version to use (-k will override)
QUIZ_KERNEL_VERSION=6.1
# default run control (-r will override)
QUIZ_RC=auto
# default profile set (-p will override)
QUIZ_PROFILE=""
# memory and CPU count
QUIZ_MEM=2G
QUIZ_CPUS=2
# 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
# vim: ft=bash