How to make Talos ignore OpenStack metadata? #13405
-
|
Context: Problem 1 (Talos v1.10.5) Here's how this interface is defined in the talos config: And here's the RouteSpec that gets added: Problem 2 (Talos v1.12.4) So it looks like in this version it is relying on platform metadata even more and is treating it as primary source over the inserted config. Question Is there a way to make openstack image variant ignore or deprioritize OpenStack metadata in favor of my config passed through config drive? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Talos v1.10 is not supported anymore, so the question is not relevant. Talos v1.12:
You have incorrect machine config, this has nothing to do with OpenStack. You're generating machine config for 1.12, which produces See https://github.com/siderolabs/talos/tree/main/pkg/machinery/config/generate/stdpatches for programmatic solution. See also: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, that was indeed causing my issue! |
Beta Was this translation helpful? Give feedback.
Talos v1.10 is not supported anymore, so the question is not relevant.
Talos v1.12:
You have incorrect machine config, this has nothing to do with OpenStack.
You're generating machine config for 1.12, which produces
HostnameConfigdocument, but you're patching in.machine.hostname.See https://github.com/siderolabs/talos/tree/main/pkg/machinery/config/generate/stdpatches for programmatic solution.
See also: