@smoser, I was trying to wrap my head around this:
> I think the problem is that later stages (cloud-init-final) do not necessarily run if earlier stages error (cloud-init-local).
I know the documentation[0] states that cloud-init-local.service and cloud-init.service both block "as much of the boot as possible", but I couldn't figure out where this was being enforced. As far as I can tell, there isn't anything in the systemd configuration that requires cloud-init-local to succeed for targets like config-config.target to be reached (for example). Is the invariant being enforced within the code? (ie cloud-init detects that these earlier stages have failed and doesn't continue)
@smoser, I was trying to wrap my head around this:
> I think the problem is that later stages (cloud-init-final) do not necessarily run if earlier stages error (cloud-init-local).
I know the documentation[0] states that cloud-init- local.service and cloud-init.service both block "as much of the boot as possible", but I couldn't figure out where this was being enforced. As far as I can tell, there isn't anything in the systemd configuration that requires cloud-init-local to succeed for targets like config- config. target to be reached (for example). Is the invariant being enforced within the code? (ie cloud-init detects that these earlier stages have failed and doesn't continue)
[0] https:/ /cloudinit. readthedocs. io/en/latest/ topics/ boot.html# local