I have a system that uses btrfs for the root filesystem.
I created a subvolume root which becomes the root filesystem on boot up,
ie it bootds to the root subvolume.
I now want to add some "containers" to that machine, for example DNS.
When set up with bind and started with machinectl provides DNS for the
network.
Is it possible to use a snapshot for the root subvolume for nspawn
containers?
I have seen that one can use the --template option but it appears to be
a newly created container every time.
Thsat won't work as I would lose the bind setup.
I need something that is not volatile in which I can install bind an
configure it without having to do that every time the container is
shutdown and the restarted.
Also if I can use the root subvolume as a template will the subsequent
containers be updated when I use pacman -Syu to update the root subvolume?
--
Hindi madali ang maging ako