diff --git a/README.md b/README.md index 1782642..574adc3 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,16 @@ This repository also contains configuration files and installation scripts insid This generator allows to build images for both Arch Linux and Debian Testing, you can replace `` by either `arch` or `debian` in the following examples. Note that mkosi may require tools that are not available on your distribution. +First: +- Put your SSH public key in `root/.ssh/authorized_keys` +- Put a SFTPGo binary as `usr/local/bin/sftpgo` + You can generate a new image in `/var/lib/machines/servnest-` by running `mkosi --force -d ` from this repository (`--force` erases an already existing image). You need to copy `mkosi.nspawn` into `/etc/systemd/nspawn/servnest-.nspawn` to allow the container to use network without restrictions. You can then boot the container: -``` +```shell machinectl start servnest- machinectl shell servnest- ``` diff --git a/usr/local/bin/.gitkeep b/usr/local/bin/.gitkeep new file mode 100644 index 0000000..e69de29