debian-forge-composer/internal/osbuild2
Martin Sehnoutka d1029fae69 osbuild2: update cloud-init stage with new options
Related to: https://github.com/osbuild/osbuild/pull/866/

Introduce new fields and move structure validation into the constructor.
This will fail faster and hopefully provide less space for programming
errors. Another advantage is simplified code with less type aliases and
lines.
2021-12-01 12:03:13 +01:00
..
anaconda_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
authconfig_stage.go osbuild2: new stage authconfig 2021-11-12 20:27:35 +01:00
authconfig_stage_test.go osbuild2: new stage authconfig 2021-11-12 20:27:35 +01:00
authselect_stage.go osbuild2: rename profile_id to profile in authselect stage 2021-07-19 21:37:15 +02:00
authselect_stage_test.go osbuild2: add support for org.osbuild.authselect stage 2021-07-08 19:37:09 +02:00
bootiso_stage.go osbuild2/bootiso: arch-based xz compression option 2021-05-11 12:10:09 +02:00
btrfs_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
buildstamp_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
chmod_stage.go osbuild2: new stages 2021-08-27 09:29:28 +02:00
chrony_stage.go osbuild2: extend chrony stage with leapsectz property 2021-08-02 19:05:09 +02:00
chrony_stage_test.go osbuild2: support for servers option in org.osbuild.chrony 2021-07-08 19:37:09 +02:00
cloud_init_stage.go osbuild2: update cloud-init stage with new options 2021-12-01 12:03:13 +01:00
cloud_init_stage_test.go osbuild2: update cloud-init stage with new options 2021-12-01 12:03:13 +01:00
copy_stage.go osbuild2/copy: ctor helper with only inputs 2021-08-28 09:20:19 +02:00
copy_stage_test.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
curl_source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
device.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
discinfo_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
dnf_config_stage.go osbuild2: add support for org.osbuild.dnf.config stage 2021-09-15 14:46:25 +02:00
dnf_config_stage_test.go osbuild2: add support for org.osbuild.dnf.config stage 2021-09-15 14:46:25 +02:00
dracut_conf_stage.go osbuild2: fix incorrect function name in dracut.conf stage 2021-07-26 22:01:33 +02:00
dracut_conf_stage_test.go osbuild2: fix incorrect function name in dracut.conf stage 2021-07-26 22:01:33 +02:00
dracut_stage.go osbuild2: new dracut stage to re-create initrd 2021-03-17 18:12:17 +00:00
dracut_stage_test.go osbuild2: new dracut stage to re-create initrd 2021-03-17 18:12:17 +00:00
ext4_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
fat_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
files_input.go osbuild2: files input is a valid copy stage input 2021-08-28 09:20:19 +02:00
files_input_test.go osbuild2: refactor files inputs 2021-08-02 19:05:09 +02:00
firewall_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
firewall_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fix_bls_stage.go osbuild2: add prefix parameter to the fix-bls stage 2021-08-13 08:24:37 +02:00
fix_bls_stage_test.go osbuild2: add prefix parameter to the fix-bls stage 2021-08-13 08:24:37 +02:00
fstab_stage.go osbuild2: ostree options for the fstab stage 2021-08-28 09:20:19 +02:00
fstab_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub2_inst_stage.go osbuild2/grub2.inst: always include location in stage options 2021-08-05 13:43:17 +02:00
grub2_inst_stage_test.go osbuild2: unit tests for new stages 2021-07-24 15:54:00 +02:00
grub2_stage.go osbuild2/grub: add greenboot option 2021-08-28 09:20:19 +02:00
grub2_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub_iso_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
hostname_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
hostname_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
implantisomd5_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
input.go osbuild2: refactor files inputs 2021-08-02 19:05:09 +02:00
kernel_cmdline_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
kernel_cmdline_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
keymap_stage.go osbuild2: use type aliases for unexported types to prevent recursion 2021-07-19 21:37:15 +02:00
keymap_stage_test.go osbuild2: support for x11-keymap option in org.osbuild.keymap 2021-07-08 19:37:09 +02:00
kickstart_stage.go rhel85: tar installer main pipeline 2021-07-01 12:48:32 +02:00
locale_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
locale_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
loopback_device.go osbuild2: new stages and osbuild features 2021-07-24 15:54:00 +02:00
lorax_script_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
lvm2_create_stage.go osbuild2: remove Prints in lvm.create stage test 2021-11-16 09:49:37 +01:00
lvm2_create_stage_test.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
lvm2_lv_device.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
lvm2_lv_device_test.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
lvm2_metadata_stage.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
lvm2_metadata_stage_test.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
mkdir_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
mkfs_btrfs_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
mkfs_ext4_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
mkfs_fat_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
mkfs_stages_test.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
mkfs_xfs_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
modprobe_stage.go osbuild2/modprobe: extend and rework stage options validation 2021-11-16 21:49:38 +01:00
modprobe_stage_test.go osbuild2/modprobe: extend and rework stage options validation 2021-11-16 21:49:38 +01:00
mount.go osbuild2: remove stage-specific mount types 2021-08-21 13:39:10 +02:00
mount_test.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
nginxconf_stage.go osbuild2: new stages 2021-08-27 09:29:28 +02:00
oci_archive_stage.go obsuild2: support additional layers in oci-archive 2021-03-17 18:12:17 +00:00
oci_archive_stage_test.go obsuild2: support additional layers in oci-archive 2021-03-17 18:12:17 +00:00
osbuild.go osbuild2: Don't add nil stages 2021-08-06 07:30:05 +02:00
osbuild_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_commit_stage.go osbuild2: add support for reading stage metadata 2021-06-29 09:33:05 +01:00
ostree_config_stage.go osbuild2: add bootloader option to ostree.config 2021-09-27 20:10:04 +02:00
ostree_deploy_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_fillvar_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_init_fs_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_init_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_input.go osbuild2: new org.osbuild.ostree.passwd stage 2021-08-27 12:56:54 +02:00
ostree_os_init_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_passwd_stage.go osbuild2: new org.osbuild.ostree.passwd stage 2021-08-27 12:56:54 +02:00
ostree_preptree_stage.go osbuild2/ostree.preptree: add missing options 2021-08-28 09:20:19 +02:00
ostree_pull_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
ostree_remotes_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_selinux_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_source.go osbuild2: OSTreeRemote → OSTreeSourceRemote 2021-08-28 09:20:19 +02:00
pam_limits_conf_stage.go osbuild2: add support for org.osbuild.pam.limits.conf stage 2021-09-15 14:46:25 +02:00
pam_limits_conf_stage_test.go osbuild2: add support for org.osbuild.pam.limits.conf stage 2021-09-15 14:46:25 +02:00
pwquality_conf_stage.go osbuild2: new stage pwquality conf 2021-11-12 20:27:35 +01:00
pwquality_conf_stage_test.go osbuild2: new stage pwquality conf 2021-11-12 20:27:35 +01:00
qemu_stage.go distro/rhel85: introduce the vmdk image type 2021-07-24 15:54:00 +02:00
qemu_stage_test.go qemu stage test squash 2021-07-24 15:54:00 +02:00
result.go osbuild: check if result objects are nil in Write() 2021-11-17 15:21:40 +01:00
result_test.go osbuild: test Write() on nil Result receivers 2021-11-17 15:21:40 +01:00
result_test_data.go osbuild: test result conversions 2021-11-16 09:49:37 +01:00
rhsm_stage.go osbuild2: update rhsm stage 2021-11-19 10:43:58 +01:00
rhsm_stage_test.go osbuild2: update rhsm stage 2021-11-19 10:43:58 +01:00
rpm_stage.go osbuild2: add support for reading stage metadata 2021-06-29 09:33:05 +01:00
rpm_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
selinux_config_stage.go osbuild2: add support for org.osbuild.selinux.config stage 2021-09-15 14:46:25 +02:00
selinux_config_stage_test.go osbuild2: add support for org.osbuild.selinux.config stage 2021-09-15 14:46:25 +02:00
selinux_stage.go osbuild2: selinux stage - introduce force_autorelabel option 2021-11-22 15:28:19 +01:00
selinux_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sfdisk_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
sfdisk_stage_test.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
source_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sshd_config_stage.go osbuild2: new stage sshd config 2021-11-12 11:40:13 +01:00
sshd_config_stage_test.go osbuild2: new stage sshd config 2021-11-12 11:40:13 +01:00
stage.go osbuild2: new stage yum config 2021-11-12 20:27:35 +01:00
stage_test.go osbuild2: selinux stage - introduce force_autorelabel option 2021-11-22 15:28:19 +01:00
sysconfig_stage.go osbuild2: support for network-scripts option in org.osbuild.sysconfig 2021-07-08 19:37:09 +02:00
sysconfig_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sysctld_stage.go osbuild2: add support for org.osbuild.sysctld stage 2021-09-15 14:46:25 +02:00
sysctld_stage_test.go osbuild2: add support for org.osbuild.sysctld stage 2021-09-15 14:46:25 +02:00
systemd_logind_stage.go osbuild2: fix typo in systemd-logind stage 2021-08-02 19:05:09 +02:00
systemd_logind_stage_test.go osbuild2: change systemd-logind stage to match osbuild v30 2021-07-26 22:01:33 +02:00
systemd_stage.go osbuild2: extract unit drop-ins from systemd -> systemd.unit 2021-07-26 22:01:33 +02:00
systemd_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
systemd_unit_stage.go osbuild2: extract unit drop-ins from systemd -> systemd.unit 2021-07-26 22:01:33 +02:00
systemd_unit_stage_test.go osbuild2: extract unit drop-ins from systemd -> systemd.unit 2021-07-26 22:01:33 +02:00
tar_stage.go osbuild2: tar stage 2021-05-11 12:10:09 +02:00
timezone_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
timezone_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
tmpfilesd_stage.go osbuild2: add support for org.osbuild.tmpfilesd stage 2021-09-15 14:46:25 +02:00
tmpfilesd_stage_test.go osbuild2: add support for org.osbuild.tmpfilesd stage 2021-09-15 14:46:25 +02:00
tree_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
truncate_stage.go osbuild2: new stages and osbuild features 2021-07-24 15:54:00 +02:00
truncate_stage_test.go osbuild2: unit tests for new stages 2021-07-24 15:54:00 +02:00
tuned_stage.go osbuild2: add support for org.osbuild.tuned stage 2021-09-15 14:46:25 +02:00
tuned_stage_test.go osbuild2: add support for org.osbuild.tuned stage 2021-09-15 14:46:25 +02:00
users_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
users_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
xfs_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
xorrisofs_stage.go osbuild2/xorrisofs: make Boot section optional 2021-08-28 09:20:19 +02:00
xz_stage.go osbuild2: add xz stage implementation 2021-08-02 19:05:09 +02:00
xz_stage_test.go osbuild2: add xz stage implementation 2021-08-02 19:05:09 +02:00
yum_config_stage.go osbuild2: new stage yum config 2021-11-12 20:27:35 +01:00
yum_config_stage_test.go osbuild2: new stage yum config 2021-11-12 20:27:35 +01:00
zipl_inst_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
zipl_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
zipl_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00