forked from aibor/marmoset
-
Notifications
You must be signed in to change notification settings - Fork 2
/
marmoset.conf.example
78 lines (68 loc) · 2.33 KB
/
marmoset.conf.example
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
# Example config file with all config directives and their default
# values.
# De-/Activate Modules of marmoset if you don't need them
[Modules]
PXE: True
VM: True
Webserver: True
Installimage: True
DHCP: True
Installstatus: True
Imagecatalog: True
[Webserver]
# Settings for HTTP Basic Auth
Username: admin
Password: secret
BasicRealm: marmoset
# IP address or hostname and port to bind to
Host: 127.0.0.1
Port: 5000
# Domain that is used by clients to address the server. It is used to
# build absolute urls. If unset, it defaults to 'localhost'.
# take a look here about the syntax: http://stackoverflow.com/a/23312820
ServerName: localhost:5000
Debug: False
AuthWhitelistEndpoint: installstatusreport,installstatushistory
[Libvirt]
URI: qemu:///system
# If you want to provide your own XML templates for domain creation,
# put them in a dir and set the path here. See the default templates
# in marmoset/virt/templates for a start.
XMLTemplateDirectory:
# Name of the libvirt network to connect the domain interfaces to if
# no network name is given on creation.
Network:
# Name of the storage pool a storage volume is created in, if no
# storage name is given.
Storage:
# this will be used for storing PXE options
[PXEConfig]
ConfigDirectory: /srv/tftp/pxelinux.cfg/
ImmutableSupport: True
# The PXELabel section has no defaults, as its entries depend on
# the PXE configuration. The syntax is `label: callbackmethod`.
# If the entry doesn't need any callback, just let callbackmethod
# blank. Only use normal letters and numbers as labels, no - or whitespace
#
#[PXELabel]
#rescue: setpwhash
#freebsd: createpwhashfile
#openbsd:
[Installimage]
ConfigDirectory: /home/marmoset/marmoset/installimageconfigs/
[DHCPConfig]
# list of all statements that we allow
# see https://github.com/virtapi/marmoset/issues/7#issuecomment-175262281
# and see https://github.com/virtapi/marmoset/issues/7#issuecomment-175275522
additional_statements = option domain-name-servers,option domain-name,max-lease-time,default-lease-time,option ntp-servers
ldap_server = localhost
ldap_port = 389
ldap_bind_dn = cn=root,dc=example,dc=com
ldap_passwort = secret
ldap_client_base_dn = cn=static,cn=DHCP Service Config,dc=example,dc=com
# No empty gateway are allowed
force_gateway: True
[Installstatus]
SQLiteDB: /home/marmoset/installstatus.db
[Imagecatalog]
ImageDirectory: /srv/nfs/images/