Skip to content

Commit cfcfbe4

Browse files
e-minguezatanasdinovalknopfler
authored
Added time section for EIB, metal3 and elemental (#666)
Co-authored-by: Atanas Dinov <[email protected]> Co-authored-by: Alberto Morgante Medina <[email protected]>
1 parent e0f05c9 commit cfcfbe4

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

asciidoc/quickstart/eib.adoc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,35 @@ operatingSystem:
136136
It's also possible to add additional users, create the home directories, set user-id's, add ssh-key authentication, and modify group information. Please refer to the {link-eib-building-images}[upstream building images guide] for further examples.
137137
====
138138

139+
=== Configuring OS time
140+
141+
The `time` section is optional but it is highly recommended to be configured to avoid potential issues with certificates and clock skew. EIB will configure chronyd and `/etc/localtime` depending on the parameters here.
142+
143+
[,console]
144+
----
145+
operatingSystem:
146+
time:
147+
timezone: Europe/London
148+
ntp:
149+
forceWait: true
150+
pools:
151+
- 2.suse.pool.ntp.org
152+
servers:
153+
- 10.0.0.1
154+
- 10.0.0.2
155+
----
156+
157+
* The `timezone` specifies the timezone in the format of "Region/Locality" (e.g. "Europe/London"). The full list may be found by running `timedatectl list-timezones` on a Linux system.
158+
* ntp - Defines attributes related to configuring NTP (using chronyd):
159+
* forceWait - Requests that chronyd attempts to synchronize timesources before starting other services, with a 180s timeout.
160+
* pools - Specifies a list of pools that chronyd will use as data sources (using `iburst` to improve the time taken for initial synchronization).
161+
* servers - Specifies a list of servers that chronyd will use as data sources (using `iburst` to improve the time taken for initial synchronization).
162+
163+
[NOTE]
164+
====
165+
The values provided in this example are for illustrative purposes only. Please adjust them to fit your specific requirements.
166+
====
167+
139168
[#eib-configuring-rpm-packages]
140169
=== Configuring RPM packages
141170

asciidoc/quickstart/elemental.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,15 @@ image:
250250
baseImage: {micro-base-image-iso}
251251
outputImageName: elemental-image.iso
252252
operatingSystem:
253+
time:
254+
timezone: Europe/London
255+
ntp:
256+
forceWait: true
257+
pools:
258+
- 2.suse.pool.ntp.org
259+
servers:
260+
- 10.0.0.1
261+
- 10.0.0.2
253262
isoConfiguration:
254263
installDevice: /dev/vda
255264
users:
@@ -262,6 +271,7 @@ EOF
262271

263272
[NOTE]
264273
====
274+
* The `time` section is optional but it is highly recommended to configure it to avoid potential issues with certificates and clock skew. The values provided in this example are for illustrative purposes only. Please adjust them to fit your specific requirements.
265275
* The unencoded password is `eib`.
266276
* The `sccRegistrationCode` is needed to download and install the necessary RPMs from the official sources (alternatively, the `elemental-register` and `elemental-system-agent` RPMs can be manually side-loaded instead)
267277
* The `cat` command escapes each `$` with a backslash (`\`) so that Bash does not template them. Remove the backslashes if copying manually.

asciidoc/quickstart/metal3.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,15 @@ image:
219219
baseImage: {micro-base-image-raw}
220220
outputImageName: SLE-Micro-eib-output.raw
221221
operatingSystem:
222+
time:
223+
timezone: Europe/London
224+
ntp:
225+
forceWait: true
226+
pools:
227+
- 2.suse.pool.ntp.org
228+
servers:
229+
- 10.0.0.1
230+
- 10.0.0.2
222231
kernelArgs:
223232
- ignition.platform.id=openstack
224233
- net.ifnames=1
@@ -252,6 +261,8 @@ For the production environments, it is recommended to use the SSH keys that can
252261
This matches the default configuration for the Metal^3^ chart, but the setting must match the configured chart `predictableNicNames` value.
253262
254263
Also note that `ignition.platform.id=openstack` is mandatory - without this argument SUSE Linux Micro configuration via ignition will fail in the Metal^3^ automated flow.
264+
265+
The `time` section is optional but it is highly recommended to configure it to avoid potential issues with certificates and clock skew. The values provided in this example are for illustrative purposes only. Please adjust them to fit your specific requirements.
255266
====
256267

257268
===== Growfs script

0 commit comments

Comments
 (0)