Niver system images generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Miraty ed0d3cc36c Move everything in /srv/niver 2 months ago
mkosi.cache Commit empty directories using .gitkeep 4 months ago
mkosi.default.d SFTPGo: new build script + TOML config 3 months ago
mkosi.extra Move everything in /srv/niver 2 months ago
mkosi.skeleton Move everything in /srv/niver 2 months ago
.gitignore Move everything in /srv/niver 2 months ago
README.md Update Nginx config + SFTP http authentication + SQLite db from sql 3 months ago
mkosi.default Move everything in /srv/niver 2 months ago
mkosi.nspawn Initial commit 4 months ago
mkosi.postinst Move everything in /srv/niver 2 months ago
mkosi.prepare Move everything in /srv/niver 2 months ago

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 according to configuration
  4. Run mkosi.prepare
  5. Add mkosi.extra
  6. Run mkosi.postinst