Alex D'Andrea<p>Found some examples in this repo:</p><p><a href="https://github.com/nosada/mkosi-files" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/nosada/mkosi-files</span><span class="invisible"></span></a></p><p>Have several build attempts, but still struggle at customizing the built image automatically: file access permissions aren't allowing modifications, sudo in the container does not work, etc.</p><p>Anyways, liking that mkosi / systemd-nspawn nicely integrate into the systemd ecosystem - and come with superb documentation.</p><p><a href="https://infosec.exchange/tags/systemd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>systemd</span></a> <a href="https://infosec.exchange/tags/mkosi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mkosi</span></a></p>