Instead of cloning the image, link to the rootfs. Provide more individual files.

This commit is contained in:
Andreas B. Mundt 2021-11-11 18:40:14 +01:00 committed by Andreas B. Mundt
parent b920bdf52b
commit fed5f71357
3 changed files with 20 additions and 7 deletions

View file

@ -9,3 +9,5 @@ Port=10{{ "%03d" | format(item|int + 100) }}:80
[Files]
Volatile=overlay
PrivateUsersChown=false
BindReadOnly=/var/lib/machines/{{ contname }}{{ "%02d" | format(item|int) }}.hostname:/etc/hostname
BindReadOnly=/var/lib/machines/{{ contname }}{{ "%02d" | format(item|int) }}.hosts:/etc/hosts