-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Normally, parameters specified in a config file (and passed to coreos-installer via --config-file) should combine. E.g. with a config file like:
append-karg: [foobar]And doing coreos-installer install --config-file config.yaml --append-karg bazboo, you'd get both foobar and bazboo appended.
But --firstboot-args is special because it doesn't have any correspondence to a config file entry (and is in fact a hidden option) because it's only meant as an implementation detail of coreos-installer-service to help automatically forward certain network-related kargs.
The clobbering happens here:
coreos-installer/src/install.rs
Line 40 in 91c9f7f
| let config = config.expand_config_files()?; |
A real world scenario of this is basically customizing PXE artifacts once and then booting those customized PXE artifacts on multiple machines where you want different network kargs that you want to specify directly via the PXE config.