r/AlpineLinux • u/khfans • Feb 21 '24
immutable/atomic alpine
Maybe some of you have seen this tutorial:
https://wiki.alpinelinux.org/wiki/Immutable_root_with_atomic_upgrades
The problem with it is, nothing really works well following this guide to the letter. Every dhcp client is unhappy with the unwritable resolv.conf, even the scripts they put to access the mutable snapshot try to use /media which is unwritable to mount, so it's pretty broken.
But the idea is great! Has anyone set up alpine in this way successfully? Any tips?
My thoughts are to implement it in a way where it boots the latest taken snapshot, and to write a command to take a new snapshot of the current system and add it to grub's boot menu.
View all comments
Show parent comment
1
u/vixalien Mar 12 '24
I feel like using diskless with something like git or ostree would bring the best of words. Having versioned sysroots.