Skip to content

Support both guestinfo.ignition.config and guestinfo.coreos.config as data source#4

Merged
pothos merged 2 commits intoflatcar-masterfrom
kai/ignition-config-name
Apr 23, 2020
Merged

Support both guestinfo.ignition.config and guestinfo.coreos.config as data source#4
pothos merged 2 commits intoflatcar-masterfrom
kai/ignition-config-name

Conversation

@pothos
Copy link
Copy Markdown
Member

@pothos pothos commented Apr 22, 2020

  • vmware: Support guestinfo.ignition.config.* variables
    The Ignition data and the cloud-config data resides at the same place.
    There was a name change from coreos.config to ignition.config in upstream
    Ignition. This means that if only ignition.config is used as guestinfo
    variable only Ignition configs are currently accepted while both should
    be supported.
    Support the ignition.config variables and fall back to coreos.config
    variables the same way Ignition does, so that the user or a provisioning
    tool does not need to care which config format is used in the guestinfo
    variable.
  • Fix (unrelated) errors reported by ./test

How to use

Set guestinfo.ignition.config.* variables in VMware and use the cloud-config format.

Testing done

./test

pothos added 2 commits April 22, 2020 19:37
The Ignition data and the cloud-config data resides at the same place.
There was a name change from coreos.config to ignition.config in upstream
Ignition. This means that if only ignition.config is used as guestinfo
variable only Ignition configs are currently accepted while both should
be supported.
Support the ignition.config variables and fall back to coreos.config
variables the same way Ignition does, so that the user or a provisioning
tool does not need to care which config format is used in the guestinfo
variable.
@pothos pothos requested a review from a team April 22, 2020 18:00
Copy link
Copy Markdown
Contributor

@margamanterola margamanterola left a comment

Choose a reason for hiding this comment

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

LGTM

@pothos pothos merged commit 8911fe0 into flatcar-master Apr 23, 2020
@pothos pothos deleted the kai/ignition-config-name branch April 23, 2020 14:08
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Apr 23, 2020
Pulls in flatcar/coreos-cloudinit#4
to support guestinfo.ignition.config.* variables as data source.
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Apr 24, 2020
Pulls in flatcar/coreos-cloudinit#4
to support guestinfo.ignition.config.* variables as data source.
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Apr 24, 2020
Pulls in flatcar/coreos-cloudinit#4
to support guestinfo.ignition.config.* variables as data source.
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Apr 24, 2020
Pulls in flatcar/coreos-cloudinit#4
to support guestinfo.ignition.config.* variables as data source.
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