You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When invoking elemental init, any existing feature config file on the system will be overwritten.
For example:
COPY my/custom/04_accounting.yaml /system/oem/04_accounting.yaml
RUN elemental init --force cloud-config-defaults
The 04_accounting.yaml coming with the cloud-config-defaults feature will overwrite the custom one I copied before.
There is no clear indication of the overwriting, so this is prone to mistakes when customizing a derivative image.
Describe the solution you'd like
I would like a warning to highlight which files are going to be overwritten.
Ideally I would like elemental init and my image build to fail due to file conflicts, rather than just emitting a warning.
Describe alternatives you've considered
Simply copying the custom file after running elemental init solves the problem.
The only trouble I have with this is that it's a bit counter-intuitive, as a user I'd expect to fully customize my derivative image before invoking elemental init, so that init will be the last step.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When invoking
elemental init
, any existing feature config file on the system will be overwritten.For example:
The
04_accounting.yaml
coming with thecloud-config-defaults
feature will overwrite the custom one I copied before.There is no clear indication of the overwriting, so this is prone to mistakes when customizing a derivative image.
Describe the solution you'd like
I would like a warning to highlight which files are going to be overwritten.
Ideally I would like
elemental init
and my image build to fail due to file conflicts, rather than just emitting a warning.Describe alternatives you've considered
Simply copying the custom file after running
elemental init
solves the problem.The only trouble I have with this is that it's a bit counter-intuitive, as a user I'd expect to fully customize my derivative image before invoking
elemental init
, so that init will be the last step.The text was updated successfully, but these errors were encountered: