-
Notifications
You must be signed in to change notification settings - Fork 1
/
system.cfg.sample
60 lines (50 loc) · 1.64 KB
/
system.cfg.sample
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
# Configuration
# -------------
# The global configuration file. Must be placed next to
# the `startvm` script. All option can be overridden on
# a per VM basis by putting a file startvm.cfg into the
# VMs configuration dir.
# Path to the UEFI bootrom.
BOOTROM=/usr/local/share/uefi-firmware/BHYVE_UEFI.fd
# Path to the UEFI NVRAM blob. Must be given per VM, the
# guest operating system might store data like the boot
# order in it. Support for the NVRAM is disabled if not
# given.
#NVRAM=/usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd
# Bridges the VMs are connected to. Either one or a
# whitespace separated list. The NICs are added in the
# same order to the VM, e.g. the first NIC connects to
# the first bridge.
BRIDGES=bridge0
# Run in background?
DAEMON=1
# Debug output
DEBUG=0
# Runtime directory. Must be the same for all instances,
# otherwise things will fuck up!
RTDIR=/var/run/startvm
# Directory where the VM configurations are stored. The
# directory layout is:
#
# vm1/
# bhyve.cfg
# startvm.cfg (optional)
# vm2/
# bhyve.cfg
# startvm.cfg (optional)
#
# Of course the upper level directories name must be
# unique. If the directory doesn't contain a bhyve.cfg
# it's not recognized as a VM configuration.
VMDIR=/data/startvm
# VNC configuration.
VNCWIDTH=1920
VNCHEIGHT=1080
VNCWAIT=0
# If enabled, startvm supervises the guest. The guest must run
# the startvm_watchdog script. startvm sends every 8 seconds a
# PING, the script answers with PONG. When 16 PONGs were missed,
# a gracefull shutdown is tried. If the VM doesn't shutdown
# gracefully within 120 seconds, the VM is killed. In both cases
# the VM is restarted afterwards.
WATCHDOG=0