A common Config struct to be used by all pilots.
To make this easier to accomplish I reworked the yaml a bit, so all pilots can have a shared header
name: some_name # The name of the flake(!) not the container
host_app_path: some/path/here
include: ~ # List of includes, like before
engine: engine_name # e.g. "podman" or "firecracker"
runtime: <Runtime> # All data required by the specific engine. can be any yaml value, usually dict
This allows tools like flake-ctl to load any config, no matter what engine it is meant for.
Comparison of the old podman template with the new structure
A common Config struct to be used by all pilots. To make this easier to accomplish I reworked the yaml a bit, so all pilots can have a shared header
This allows tools like flake-ctl to load any config, no matter what engine it is meant for.
Comparison of the old podman template with the new structure
Old (container)
New
Old (Firecracker)
New (Firecracker)
Features
FlakeConfig
) by storing the runtime value as aserde_yaml::Value
The test cases will be cleaned up before merge