forked from bottlerocket-os/bottlerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.toml
94 lines (68 loc) · 2.48 KB
/
defaults.toml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Here we define default values for the settings in the API model.
# Variant builds can override or supplement these in
# src/VARIANT/override-defaults.toml.
# The structures, fields, and types here need to match those of the API model,
# as defined in src/VARIANT/mod.rs.
[settings]
motd = "Welcome to Bottlerocket!"
[metadata.settings.motd]
affected-services = ["motd"]
[services.motd]
configuration-files = ["motd"]
restart-commands = []
[configuration-files.motd]
path = "/etc/motd"
template-path = "/usr/share/templates/motd"
# Container runtime.
[services.containerd]
configuration-files = ["containerd-config-toml"]
restart-commands = []
[configuration-files.containerd-config-toml]
path = "/etc/containerd/config.toml"
template-path = "/usr/share/templates/containerd-config-toml"
# Updates.
[settings.updates]
targets-base-url = "https://updates.bottlerocket.aws/targets/"
version-lock = "latest"
ignore-waves = false
[metadata.settings.updates.metadata-base-url]
setting-generator = "schnauzer settings.updates.metadata-base-url"
template = "https://updates.bottlerocket.aws/2020-07-07/{{ os.variant_id }}/{{ os.arch }}/"
[services.updog]
configuration-files = ["updog-toml"]
restart-commands = []
[configuration-files.updog-toml]
path = "/etc/updog.toml"
template-path = "/usr/share/templates/updog-toml"
[metadata.settings.updates]
affected-services = ["updog"]
seed.setting-generator = "bork seed"
# HostContainers
[settings.host-containers.admin]
enabled = false
superpowered = true
[metadata.settings.host-containers.admin.source]
setting-generator = "schnauzer settings.host-containers.admin.source"
template = "{{ ecr-prefix settings.aws.region }}/bottlerocket-admin:v0.5.2"
[settings.host-containers.control]
enabled = true
superpowered = false
[metadata.settings.host-containers.control.source]
setting-generator = "schnauzer settings.host-containers.control.source"
template = "{{ ecr-prefix settings.aws.region }}/bottlerocket-control:v0.4.1"
[services.host-containers]
configuration-files = []
restart-commands = ["/usr/bin/host-containers"]
[metadata.settings.host-containers]
affected-services = ["host-containers"]
# NTP
[settings.ntp]
time-servers = ["169.254.169.123", "2.amazon.pool.ntp.org"]
[services.ntp]
configuration-files = ["chrony-conf"]
restart-commands = ["/bin/systemctl try-reload-or-restart chronyd.service"]
[configuration-files.chrony-conf]
path = "/etc/chrony.conf"
template-path = "/usr/share/templates/chrony-conf"
[metadata.settings.ntp]
affected-services = ["chronyd"]