Hi,
i've packaged mkosi[1] a tool for creating legacy-free OS images 
This tool builds distribution image that can be easily booted from qemu or 
systemd-nspawn.

First you need to run dnf install mkosi systemd-container

Here is how the process looks like:
1. build image
mkosi -d openmandriva -r rolling --cache=$(pwd) --force --password=classified 
--output=omv-rolling-img
2. run image
systemd-nspawn -bi omv-rolling-img

3. Poweroff system
machinectl poweroff omv-rolling-img

More cool features can be found here[2], and i hope this will help a bit with 
testing, and in some future to replace our docker builders with systemd-nspawn 
images.

4. Import image 
machinectl import-raw omv-rolling-img OMV

5. Run, stop, delete image
machinectl start OMV
machinectl poweroff OMV
machineclt remove OMV

[1] - https://github.com/systemd/mkosi
[2] - http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to