Skip to content

Conversation

@dustymabe
Copy link
Member

A bunch of small cleanups. See individual commit messages:

  • drop image-default.yaml; migrate settings to image-base.yaml
  • image-default: rm bootfs,rootfs,rootfs-args,composefs settings
  • image-default: drop squashfs-compression
  • image-default: drop legacy cosa build settings
  • image-base: drop ostree-remote setting
  • image-base: drop ignition-network-kcmdline settings

We don't use an OSTree for a remote any longer and the vestiges of using
this setting in create_disk.sh were long ago deleted.
These settings were only ever consumed in the legacy `cosa build` path
where rpm-ostree was run directly (i.e. not in the build via container
tools path). Let's delete them since they are of no use to us now that
we have moved to the new build path.
This was obsolete after moving to build with OSBuild. See
coreos/coreos-assembler#4421
These basically stopped being used once we switched to OSBuild and
any coded use of them got deleted when create_disk.sh got removed [1].

[1] coreos/coreos-assembler@d37958a
There wasn't much point in have two levels of indirection here. Let's
merge everything into one file.
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request effectively cleans up and refactors the image configuration by dropping obsolete settings from image-default.yaml and migrating relevant settings to image-base.yaml. The changes align well with the stated goal of removing legacy and unused configurations, improving the clarity and maintainability of the image definitions. The removal of ignition-network-kcmdline and ostree-remote from image-base.yaml and the complete removal of image-default.yaml are consistent with the provided commit messages. New VMware and AWS settings have been added to image-base.yaml with appropriate comments, enhancing the configuration for these platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant