This message was deleted.
# elemental
a
This message was deleted.
w
Here is an example config that influences partitions and adds two extra partitions: https://github.com/rancher/elemental-toolkit/blob/78d856f2d24eec8e81682fd1c6f65c60c3ff6e1a/config.yaml.example#L28-L50
a
How does one use the customized config for example during an install? I was expecting that i could also provide it as a parameter to the install like
elemental install -c http://../config.yaml /dev/sda
. Or is this customizzed config only used when placed inside the mentioned places in the container image?
Copy code
/etc/os-release
<config-dir>/config.yaml
<config-dir>/config.d/*.yaml
w
Yep, it needs to be added to the container image or otherwise copied before running the install-step..
A more advanced example: In elemental-teal we have an installer that fetches the install-config and cloud-config files from the management cluster (elemental-operator): https://github.com/rancher/elemental-operator/blob/25cb8fb3de9fad81066093691f2e102d32f92093/cmd/register/main.go#L167