Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nspawn/nspawn

A wrapper around machinectl for easy-deployment of nspawn.org containers
https://github.com/nspawn/nspawn

Last synced: 3 months ago
JSON representation

A wrapper around machinectl for easy-deployment of nspawn.org containers

Awesome Lists containing this project

README

        

# nspawn
A wrapper around machinectl for easy-deployment of [https://nspawn.org](https://nspawn.org) images.

## How to use it
```
nspawn {COMMAND} [PARAMETER]

Wrapper around systemd-machined and https://nspawn.org

Commands:
--init Initializes an image for systemd-machined
with the following parameters: //
--list Lists all available images
--help Prints this help message

Parameters:
One out of (archlinux,centos,debian,fedora,ubuntu)
The release of the distribution
One out of (raw,tar)
```

On the first start `nspawn` will try to set up the `/etc/systemd/import-pubring.gpg` keyring.
`nspawn` will create the keyring and search for the [https://nspawn.org](https://nspawn.org) master key.
After keyring generation you can start using `nspawn`.

You can use `nspawn --init //` to pull an image.
`nspawn --list` will print a list of all available images.

## Examples

`nspawn --init fedora/34/tar` will pull a tar archive with a `fedora 34` directory.
You can instantly start it via `machinectl start fedora-34-tar`.