Skip to content

util/cmdline: rename "OEM ID" to "Platform ID"#185

Merged
lucab merged 1 commit intocoreos:masterfrom
lucab:ups/oem-platform
Mar 26, 2019
Merged

util/cmdline: rename "OEM ID" to "Platform ID"#185
lucab merged 1 commit intocoreos:masterfrom
lucab:ups/oem-platform

Conversation

@lucab
Copy link
Contributor

@lucab lucab commented Mar 25, 2019

This switches from "coreos.oem.id" to "ignition.platform.id" in
non-legacy mode.

Ref: coreos/coreos-assembler#428

@lucab
Copy link
Contributor Author

lucab commented Mar 25, 2019

/cc @bgilbert @dustymabe @cgwalters

@dustymabe
Copy link
Member

This switches from "coreos.oem.id" to "coreos.platform.id"

shouldn't it be ignition.platform.id ? ref: coreos/ignition-dracut#45

@lucab lucab force-pushed the ups/oem-platform branch from 2ee02a0 to 042fbc6 Compare March 25, 2019 14:45
@lucab
Copy link
Contributor Author

lucab commented Mar 25, 2019

@dustymabe indeed, I didn't see that PR. Renamed.

@dustymabe dustymabe requested a review from jlebon March 25, 2019 14:55
@bgilbert
Copy link
Contributor

Per coreos/coreos-assembler#433 (comment), maybe we should go ahead and accept only the new flag in non-legacy mode.

@dustymabe
Copy link
Member

dustymabe commented Mar 25, 2019

Per coreos/coreos-assembler#433 (comment), maybe we should go ahead and accept only the new flag in non-legacy mode.

That makes sense. IOW the media creator will generate both coreos.oem.id and ignition.platform.id so the consumer software doesn't have to handle both cases.

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

LGTM!

No strong opinion on whether we should handle both here too or not. Not handling both just means that we'll have to be sure that the RHCOS pipeline has coreos/coreos-assembler#433 backported before the next cut.

@lucab
Copy link
Contributor Author

lucab commented Mar 25, 2019

I'm going to hold this a bit until we sort out the approach in coreos/coreos-assembler#433. I'm fine either ways, I thought that an overlap window here would make easier the lockstep transition on RHCOS side.

@lucab lucab changed the title util/cmdline: rename "OEM ID" to "Platform ID" [WIP] util/cmdline: rename "OEM ID" to "Platform ID" Mar 25, 2019
@lucab lucab force-pushed the ups/oem-platform branch from 042fbc6 to 1eba22a Compare March 26, 2019 09:00
@lucab lucab changed the title [WIP] util/cmdline: rename "OEM ID" to "Platform ID" util/cmdline: rename "OEM ID" to "Platform ID" Mar 26, 2019
@lucab
Copy link
Contributor Author

lucab commented Mar 26, 2019

coreos/coreos-assembler#433 landed adding both flags. As requested by @bgilbert, I reworked this PR to drop the overlapping/legacy fallback. PTAL, thanks!

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

This looks good to me!

This switches from "coreos.oem.id" to "ignition.platform.id" in
non-legacy mode.
@lucab lucab force-pushed the ups/oem-platform branch from 1eba22a to e758810 Compare March 26, 2019 14:37
Copy link
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

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

LGTM

@lucab lucab merged commit 5289e06 into coreos:master Mar 26, 2019
@lucab lucab deleted the ups/oem-platform branch June 22, 2020 10:49
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.

4 participants