-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distro: add rhcos #79
Conversation
7998a70
to
f759b3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent.
/approve
Merge at will.
/cc @crawford |
What is the purpose of this change? |
I don't think this makes sense right now. RHCOS can't currently consume the output of this tool, and by the time it can, there won't be any point in exposing FCOS spec 1.0.0 as RHCOS spec 1.0.0. Any reason not to defer this? |
We're starting work on complex devices and plan to use FCCT as an easy point for designating custom root filesystems / LUKS devices.
I'm fine with deferring, cc @darkmuggle |
Is this still something we want to pursue? |
openshift/machine-config-operator#1678 is somewhat related as that changes the CL configs in the MCO templates to Fedora CoreOS configs (they'll be transpiled to spec v3. and then translated down to spec v2 for OCP). Edit: Note though that for the MCO templates no variant is specified and we just call the translator function directly, not via getTranslator() |
My main thoughts are:
|
While I don't think it's desirable to add any distro-specific sugar unless absolutely necessary, I do agree that having an RHCOS variant would be more ergonomic for OCP users (even if it's just an alias -- i.e. what this PR does) |
This adds an RHCOS variant. It is currently a no-op and just allows the usage of the variant name in the configuration. NOTE: Current versions of RHCOS are still based on Ignition spec 2.x configs and will not be able to use the configs output by FCCT.
It can now that 4.6 is on spec3!
I don't think this is so much about the spec as the ergnomics of the tool - support for generating configs from inline data as well as the filesystem. |
Now, we clearly need a longer term storm for what the spec means here. But everything that's in 1.0.0 of the fcos spec applies to rhcos right? |
The reason I'm reviving this issue is in order to improve the RHCOS static IP addressing story I think we basically need:
Where |
All of the versioning number stuff is currently relatively confusing. The I still have this PR on my radar, I'm tossing around a couple different ideas to clean up the public API (#115) to attempt at making things a bit more clear and provide a better way to call into the distro sugar + base combination of |
@cgwalters regarding #79 (comment), can you write up the UX in an enhancement? I have a slightly different approach in mind. |
Obsoleted by #164. |
This adds an RHCOS variant. It is currently a no-op and just allows the
usage of the variant name in the configuration.
NOTE: Current versions of RHCOS are still based on Ignition spec 2.x
configs and will not be able to use the configs output by FCCT.