ServNest system images generator
Go to file
Miraty 31ac02bdb7 Add a README 2022-05-16 00:32:28 +02:00
mkosi.cache Commit empty directories using .gitkeep 2022-05-03 19:28:40 +02:00
mkosi.default.d SFTPGo: new build script + TOML config 2022-05-09 02:40:29 +02:00
mkosi.extra Update Debian's PHP from 7.4 to 8.1 2022-05-09 02:39:53 +02:00
mkosi.skeleton SFTPGo: new build script + TOML config 2022-05-09 02:40:29 +02:00
.gitignore Commit empty directories using .gitkeep 2022-05-03 19:28:40 +02:00
README.md Add a README 2022-05-16 00:32:28 +02:00
mkosi.default Fix sudo warning when building images 2022-05-03 19:17:27 +02:00
mkosi.nspawn Initial commit 2022-04-20 00:29:47 +02:00
mkosi.postinst Update Debian's PHP from 7.4 to 8.1 2022-05-09 02:39:53 +02:00
mkosi.prepare Update Debian's PHP from 7.4 to 8.1 2022-05-09 02:39:53 +02:00

README.md

Niver system images generator

This is the sources to build system images of Niver using mkosi. You can then use them with systemd-nspawn.

This generator allows to build images for both Arch Linux and Debian Testing, you can replace <sysid> by either arch or debian in the following examples. Note that mkosi may require tools that are not available on your distribution.

You can generate a new image in /var/lib/machines/niver-<sysid> by running mkosi --force -d <sysid> from this directory (--force will erase an already existing image).

You will need to copy mkosi.nspawn into /etc/systemd/nspawn/niver-<sysid>.nspawn to allow the container to use network without restrictions.

You can then boot the container:

machinectl start niver-<sysid>
machinectl shell niver-<sysid>

The full explanation of the structure in this repository can be found on the mkosi manpage. Here is a summary of what mkosi will do in this repository:

  1. Load configuration from mkosi.default and mkosi.default.d/<sysid>/mkosi.default
  2. Add mkosi.skeleton
  3. Install packages
  4. Run mkosi.prepare
  5. Add mkosi.extra
  6. Run mkosi.postinst