Skip to content
/ nspawn Public
forked from nspawn/nspawn

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

License

Notifications You must be signed in to change notification settings

CC-Hsu/nspawn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nspawn

A wrapper around machinectl for easy-deployment of 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: <distribution>/<release>/<type>
  --list                Lists all available images
  --help                Prints this help message

Parameters:
  <distribution>	One out of (archlinux,centos,debian,fedora,ubuntu)
  <release>             The release of the distribution
  <type>                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 master key.
After keyring generation you can start using nspawn.

You can use nspawn --init <distribution>/<release>/<type> 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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%