This repository was archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathdefault_config.yml
More file actions
227 lines (197 loc) · 7.93 KB
/
default_config.yml
File metadata and controls
227 lines (197 loc) · 7.93 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2021 Intel Corporation
# GitHub Credentials.
#
# Required if using non-public repositories.
# It can be generated on following website https://github.com/settings/tokens (SSO authorization might be needed).
#
# If provided, both user and token are required.
# It is assumed that every repository defined in this file is part of the same git instance (e.g. https://github.com).
git:
user: ''
password: '' # The 'password' field accepts one of two values git password or token.
# Edge Software Provisioner repository settings.
esp:
# URL of the ESP's repository.
url: https://github.com/intel/Edge-Software-Provisioner
# Branch to be checked out.
branch: v2.0.3
# ESP destination path.
# This will be a path where ESP will be cloned to (relative to the script working directory).
dest_dir: './esp'
# Settings related to dnsmasq which provides DHCP and PXE services.
#
# In case of USB-only provisioning (e.g. in corporate network with existing DHCP services),
# the dnsmasq should be disabled to not interfere with existing network infrastructure.
#
# Rest of the settings in this section are related to the DHCP configuration that
# will be sent to machines provisioned with PXE.
# If left empty, these settings will be automatically deduced by the ESP,
# however custom values might be required in some cases.
dnsmasq:
# If true, then the dnsmasq will be started with rest of the Provisioning System suite.
enabled: false
# Domain Name System (DNS) settings
# These values should be changed in case of default DNS (8.8.4.4 and 8.8.8.8) are not reachable.
network_dns_primary: '' # e.g. 8.8.4.4
network_dns_secondary: '' # e.g. 8.8.8.8
# DHCP and network settings
dhcp_range_minimum: '' # e.g. 192.168.1.100
dhcp_range_maximum: '' # e.g. 192.168.1.250
network_broadcast_ip: '' # e.g. 192.168.1.255
network_gateway_ip: '' # e.g. 192.168.1.1
# IP address of the Provisioning System
host_ip: '' # e.g. 192.168.1.2
# Docker settings
docker:
# List of registry mirrors
# The list will be propagated to the machine under provisioning.
#
# WARNING: This won't be applied to the Provisioning System.
registry_mirrors: []
# DockerHub Credentials
# If values are supplied, then docker login will be performed during Operating System provisioning.
#
# WARNING: This won't be applied neither to the Provisioning System
# nor the machine under provisioning (with Experience Kits).
dockerhub:
username: ""
password: ""
# Address of the NTP server used during deployment
ntp_server: ''
# List of ESP profiles for Smart Edge Open.
profiles:
- name: Smart_Edge_Open_Developer_Experience_Kits
# Address of the profile repository
url: https://github.com/smart-edge-open/profiles.git
# Branch to be checked out
branch: smart-edge-open-22.03.02
# Profile scenario
# Possible values: single-node, multi-node
scenario: single-node
# Settings of Experience Kit that will be deployed
experience_kit:
# Address of the Experience Kit repository
url: https://github.com/smart-edge-open/open-developer-experience-kits.git
# Branch to be checked out
branch: smart-edge-open-22.03.02
# Deployment to be performed
# Possible values: dek
deployment: dek
# MAC address of the controlplane's primary interface.
# This value is used only in multi-node scenario.
controlplane_mac: ''
# Credentials of the operating system account that will be created.
# Account will be added to the sudoers.
account:
username: smartedge-open
password: smartedge-open
# Secure boot and trusted media platform options.
bios:
secure_boot: true
tpm: true
# Experience Kit group_vars overrides.
# This section can be used to supply extra variables to influence the deployment of the Experience Kit.
# The variables will be copied as-is to the destination group_vars on the machine.
# Refer to the Experience Kit documentation for more examples.
#
# Example:
# group_vars:
# groups:
# all:
# topology_manager:
# policy: "none"
# controller_group:
# edgeenode_group:
group_vars:
groups:
all:
controller_group:
edgenode_group:
# Experience Kit host_vars overrides.
# This section works analogous to the group_vars section, but influences the settings of specific host.
host_vars:
hosts:
controller:
node01:
# Experience Kit sideloads.
# This section can be used to copy certain files required in the process of Experience Kit deployments.
#
# It is a list of items with following fields:
# file_path is an absolute path on the Provision System. It can point to a file or to a folder.
# dest_path is a target path on the system under provisioning. The path can be absolute
# or relative (relative to /opt/seo). If file_path points to a file and dest_path looks
# like a dir path (ends with '/'), filename will be automatically appended to that dir path.
sideload:
# Example entries:
# This will cause a file /opt/extra_package.zip to be copied to /opt/seo/extra/extra_package_renamed.zip
# - file_path: "/opt/extra_package.zip"
# dest_path: "./extra/extra_package_renamed.zip"
# This will cause a file /root/extra_package.zip to be copied to /opt/seo/extra/extra_package.zip
# - file_path: "/root/extra_package.zip"
# dest_path: "extra/"
# This will cause a content of a folder /root/extra_sideload_dir to be copied under /opt/offline_files
# - file_path: "/root/extra_sideload_dir"
# dest_path: "../offline_files"
# Define additional inventory groups where hosts belong to.
# Possible host names: controller, node01
# Note: some Experience Kits require to provide at least a group name with no hosts.
extra_inventory_groups:
# Example:
# ptp_slave_group:
# controller:
# node01:
# ptp_master:
# controller:
# example hosts section defining host special settings and bmc access data
# hosts:
# # full example for this element
# - name: master # this will be set as a hostname
# mac: 11:22:33:44:55:66 # this host can be identified from the profile to set a hostname
# bmc: # bmc settings
# address: 1.2.3.4 # bmc address
# user: user # bmc user name
# password: password # bmc password
# bios: # bios settings
# tpm: false # TPM
# secure_boot: false # Secure Boot
# # example without bmc, the profile will just set hostname
# - name: node1
# mac: AA:BB:CC:DD:EE:FF # this host can be identified from the profile to set a hostname
# # example node without mac, the profile cannot identify host and set a hostname so no hostname here
# - name: node2
# bios:
# tpm: false
# secure_boot: true
# bmc: # bmc data allows to switch TPM and Secure Boot
# address: 1.2.3.4
# user: user
# password: password
# global bmc section used for uniform inhost bmc access
# bmc:
# address: 169.254.0.1
# user: user
# password: password
# global bios settings
# bios:
# tpm: false
# secure_boot: false
# Configuration of USB images.
#
# Generated images are in form of raw .img disk.
# ESP's flashusb.sh utility can be used to the image onto the USB drive.
usb_images:
# Build USB images.
# If false, then no USB image will be produced.
build: true
# Build images for legacy BIOS.
bios: true
# Build images for UEFI BIOS.
efi: true
# Build an all-in-one image for each BIOS.
# If false, then an image for each of the profiles will be produced separately.
# If true, then a single image per BIOS with all of the profiles will be produced.
all_in_one: false
# Path where built images will be placed.
# This is relative path to the script's working directory.
output_path: './out'