Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How do I work around /etc overlay?

28 views
Skip to first unread message

D C

unread,
Sep 11, 2024, 3:12:48 PM9/11/24
to Flatcar Container Linux User
A pile of stuff broke in my ignition due to the change to use overlay  (issue-1207).
Most of which where file units and I was able to fix them by adding "overwrite: true" to the unit in my butane yml.

But this does not work everywhere.  I want to disable update-engine, but i dont see how.
I've tried the following in butane:

Setting "SERVER=off"  in storage> files> path: /etc/flatcar/update.conf
This seems to prevent the auto-update, but the  daemon is still running.

systemd> units> update-engine.service      setting enabled: false    no effect

I cannot touch /usr/.noupdate,   or /usr/lib/systemd/system/update-engine.service

The examples on flatcar's site seem to indicate that i should be able to do that.  is there a new approach?



George Angel

unread,
Sep 11, 2024, 9:41:14 PM9/11/24
to flatcar-l...@googlegroups.com

Hello!

I believe you can do this by masking the update-engine.service - https://www.flatcar.org/docs/latest/setup/releases/update-strategies/#disable-automatic-updates

systemd> units> update-engine.service      setting mask: true

https://www.baeldung.com/linux/systemctl-mask-disable - explains the difference between `enable` and `mask`.

--
You received this message because you are subscribed to the Google Groups "Flatcar Container Linux User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flatcar-linux-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flatcar-linux-user/4a690b89-e764-4e64-9445-346c1cf57248n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages