3 Commits

Author SHA1 Message Date
Andrew Rynhard
94c28657d3 feat: add config validation task
This should provide a better UX around misconfigured Talos nodes. It is
just the start of something we can expand on.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-15 20:26:26 -07:00
Andrew Rynhard
3343144a11 fix: set packet and metal platform mode to metal
The packet and metal platforms were erroneously set to cloud mode. This
sets them to metal.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-15 19:07:00 -07:00
Andrew Rynhard
8153c2e2a9 feat: add Runtime interface
Instead of passing around a struct, it is better if we pass around an
interface that describes the behavior we want. The Runtime interface
provides a common place to describe runtime specific parameters. This
initial implementation offers the runtime mode, the platform specifics,
and the config.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-15 17:41:37 -07:00