Replies: 0 comments 6 replies
-
@lzap @amirfefer sounds like an easy change to do, right? 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks @mrguitar, nice catch 👍 I wonder though, would we use the same first boot customization on bootc images? Users can customize and run whatever they wish for in the Containerfile, no? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this is putting the cart before the horse big time and is maybe the lowest priority ever.
this may be a dumb idea :)
Anyway, I took the first boot unit file from Terry's blog here: https://www.redhat.com/en/blog/first-boot-scripts-with-Insights-image-builder
This line will fail on a bootc system where /usr is RO. ExecStartPost=mv /usr/local/sbin/custom-first-boot /usr/local/sbin/custom-first-boot.done
I combined your unit file w/ the FCOS example and I think something like this might work better across both rpm & bootc installs. We're clearly a ways away from hitting this with bootc images, but I thought I'd call this out now since I just ran into it.
...just an idea.
Beta Was this translation helpful? Give feedback.
All reactions