Open dustymabe opened 4 years ago
:+1: I agree. While we're at it we ought to make ignition.config.{merge,replace}
work the same way too. This could go into the 3.1.0 spec.
This would be super useful for pulling unit definitions from a remote source too. What are the chances it could make it into v3_2_experimental (and FCC)?
I'd be interested in picking this up.
@darkmuggle See https://github.com/coreos/ignition/pull/986.
Indeed @arithx has it. Nevermind, then.
@darkmuggle that PR itself still needs some love (needs to update the translation code & probably fix unit tests). I initially threw it up as-is to open a discussion on whether or not the trade off of losing validation was worth the gain.
If you want to take it from it's current state and drive it to completion I'd be more than happy to cede it over.
Feature Request
With the files section we have:
But with the systemd unit section we only have:
This means that I can't use a single way to define file contents for files vs systemd units. I end up with doing something like:
where in one case I can use base64 and the other I have to replace newlines with
\n
.