When collecting preseeded data, include also snapd/mounts.
This directory contains layout info and is essential to have
a correct layout functionality on preseeded system.
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
* Handle var/lib/extrausers when preseeding uc20.
Fixes LP: #1978850
* Also test that extrausers are included in the preseed.tgz.
* Fix unit tests.
* Tweak formatting.
Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>
* Use PROJECT_PATH var instead of hardcoded path.
Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>
Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>