coreos / fedora-coreos-docs

Documentation for Fedora CoreOS
https://docs.fedoraproject.org/en-US/fedora-coreos/
Other
49 stars 119 forks source link

Update provisioning-vmware.adoc #610

Closed lukonjun closed 5 months ago

lukonjun commented 5 months ago

Fix typo. guestinfo.ignition.config.data should use the env variable CONFIG_FILE_ENCODED like in the prior example

jlebon commented 5 months ago

CONFIG_ENCODED is defined higher up as the base64 contents of the file. Did you hit any issues?

fifofonix commented 5 months ago

It has been a while but I re-executed the steps on this page and didn't have an issue with CONFIG_ENCODED if it has been populated per the detailed steps as @jlebon points out.

lukonjun commented 5 months ago

Hi sorry for the confusion. I went for the vSphere Option

govc vm.change -vm "${VM_NAME}" -e "guestinfo.ignition.config.data.encoding=${CONFIG_ENCODING}"
govc vm.change -vm "${VM_NAME}" -f "guestinfo.ignition.config.data=${CONFIG_FILE_ENCODED}" # using `-f` with a file path instead of `-e`

And was therefore confused why it is CONFIG_ENCODED instead of CONFIG_FILE_ENCODED. I think this can be closed. Great Documentation in general btw, had a very easy time getting to know CoreOS 👍 .