platform: allow CLC templating for dynamic IP address insertion #168
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
platform: allow CLC templating for dynamic IP address insertion
The tests that require coreos-metadata and CLC templating could not
run because for QEMU only a static replacement was done before the
CLC configuration was rendered.
Add support for the template variables by treating QEMU as a custom
platform for the transpiler, making use of a coreos-metadata service
that has the IP addresses hardcoded.
platform/machine/*/cluster.go: update custom coreos-metadata service
The coreos-metadata service in the Flatcar OEMs normally writes to
a "flatcar" file and symlinks it.
Do the same for the custom ESX and QEMU coreos-metadata services.
platform/local/dnsmasq: hardcode DNS server for QEMU tests
The system may have 127.0.0.53 as DNS server which is the
systemd-resolved stub. This is no reachable from the dnsmasq's
network namespace which has its own loopback interface.
Hardcode the DNS servers to Cloudflare's and Google's to ensure
DNS is working regardless of the host /etc/resolv.conf file.
kola/tests/*: enable more tests for QEMU
How to use/testing done
Run QEMU tests for