Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Comments

util/cmdline: support OEM IDs for both flatcar and coreos#7

Merged
dongsupark merged 2 commits intoflatcar-masterfrom
dongsu/coreos-oem-id
Feb 13, 2020
Merged

util/cmdline: support OEM IDs for both flatcar and coreos#7
dongsupark merged 2 commits intoflatcar-masterfrom
dongsu/coreos-oem-id

Conversation

@dongsupark
Copy link

To make afterburn work for both OEM ID strings, flatcar.oem.id and coreos.oem.id, we need to update the cmdline parser to deal with both strings.

We should keep the Flatcar string name as CMDLINE_PLATFORM_FLAG, since the flag name should also work for the !cl-legacy case.

Also add tests for coreos.oem.id.

Partly addresses flatcar/Flatcar#16.

To make afterburn work for both OEM ID strings, `flatcar.oem.id` and
`coreos.oem.id`, we need to update the cmdline parser to deal with
both strings.

We should keep the Flatcar string name as `CMDLINE_PLATFORM_FLAG`,
since the flag name should also work for the !cl-legacy case.

Also add tests for `coreos.oem.id`.
@dongsupark dongsupark added the bug Something isn't working label Feb 12, 2020
@dongsupark dongsupark requested a review from pothos February 12, 2020 10:40
The first name in the list takes precedence, so any other present
names are ignored.
@pothos pothos force-pushed the dongsu/coreos-oem-id branch from 9d67f31 to 212b2f4 Compare February 12, 2020 11:40
@pothos
Copy link
Contributor

pothos commented Feb 12, 2020

Added a commit to make it make dealing with the flags more flexible if we want to consider supporting ignition.platform.id as well.

@dongsupark
Copy link
Author

Looks good, Thanks!

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants