Bootstrap a systemd-nspawn container with either an Arch, Ubuntu, or Debian distro
npm install nspawn-bootstrapBootstrap a systemd-nspawn container with either an Arch, Ubuntu, or Debian distro.
``sh`
npm install -g nspawn-bootstrap
`sh`
nspawn-bootstrap ./ubuntu-16.04.img --ubuntu xenial --size 4GB
More options include
`
Usage: nspawn-bootstrap
--size
--ubuntu
--debian
--arch
Examples:
nspawn-bootstrap --arch --size 4GB
nspawn-bootstrap --ubuntu xenial --size 3GB
nspawn-bootstrap --debian stable
``
MIT