debian-forge-composer/internal/distro/rhel7
Achilleas Koutsou 5d760c48ad osbuild: remove Timeservers slice from chrony stage
The org.osbuild.chrony stage was extended to allow additional directives
alongside time servers [1].  The old Timeservers string slice was kept
for backwards compatibility.  Removing support for it in
osbuild-composer makes working with the stage's options simpler.  Using
the new struct slice Servers field and only specifying a Hostname for
each element is equivalent to the old behaviour, so no functionality is
lost.

This simplifies the chrony stage since no validation is required
anymore.
It also simplifies the propagation of configuration options through the
pipeline generation code which doesn't need to check for both types of
stage options.

[1] https://github.com/osbuild/osbuild/pull/692
2022-11-28 17:20:49 +01:00
..
azure.go distro/rhel7: Add insights-client to Azure package set 2022-11-25 13:15:49 +01:00
distro.go distro: use pointers for basic types in ImageConfig 2022-09-06 14:43:24 +02:00
distro_test.go distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
package_sets.go distro: add support for building a rhel 7 (qcow2) 2022-06-21 00:06:26 +02:00
partition_tables.go distro: use storage capacity multiple constants in partition tables 2022-09-15 20:39:40 +02:00
pipelines.go osbuild: remove Timeservers slice from chrony stage 2022-11-28 17:20:49 +01:00
qcow2.go distro: use storage unit constants from the common package 2022-09-15 08:50:33 +02:00
stage_options.go Rename osbuild2 package to osbuild 2022-07-14 16:54:00 +02:00