Update centos distribution to scos as this prevents scos build testing#2915
Update centos distribution to scos as this prevents scos build testing#2915HuijingHei merged 1 commit intocoreos:mainfrom
Conversation
821e0b9 to
d95dc8b
Compare
d95dc8b to
a52fae5
Compare
|
Can you make it support all four:
|
a52fae5 to
49d58ea
Compare
Looks sane, update is done |
cgwalters
left a comment
There was a problem hiding this comment.
Personally I think we should just delete this distribution checking code, it's IMO an anti-pattern.
That said, where is scos-coreos and rhcos-coreos coming from? That seems redundant as "rhcos" is short for "rhel coreos" so this is like "rhel coreos coreos" right?
Refer to: coreos-assembler/mantle/platform/platform.go Line 486 in 75b7978 When $ID and $VARIANT_ID are both defined in /etc/os-release, the value will be like scos-coreos (for example in openshift/os#773).
Maybe checking |
|
I'm looking at making this less redundant but changing the defaults here might have impacts in other places thus it's easier to add |
Supported: - scos- - scos-coreos - rhcos- - rhcos-coreos See openshift/os#773 Fix issue ``` $ cosa kola run ostree.basic harness.go:1443: mach.Start() failed: machine "ea43750e-e04b-4632-b966-caff659a5214" failed basic checks: not a supported instance: scos-coreos ```
49d58ea to
af1ec01
Compare
See openshift/os#901, when running kola test for scos, get error, this is to fix it