File overwrite fails with ignition format #410
Labels
kind/bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
During deployment it's possible to define additional files with a configuration like the following, which when using cloud-init results in default behavior to overwrite any existing files
The behavior with
format: ignition
however is different and any attempt to overwrite an existing file will fail during the OS firstboot:What did you expect to happen:
The behavior between cloud-init and ignition should be consistent from the perspective of the user of the RKE2 provider API, even if the default behavior of the underlying tool may be different.
I think we can likely adapt the configuration during the translation from cloud-init to butane/ignition so that we set the overwrite flag to true.
How to reproduce it:
Deploy with a similar configuration described above and
format: ignition
Environment:
I reproduced using Leap Micro 6.0 with CAPM3.
The text was updated successfully, but these errors were encountered: