From c2e1363021bd0e30e31b2e8605350ad0aa3b96a8 Mon Sep 17 00:00:00 2001 From: Miraty Date: Wed, 3 May 2023 00:54:00 +0200 Subject: [PATCH] Add setup instructions --- README.md | 6 +++++- usr/local/bin/.gitkeep | 0 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 usr/local/bin/.gitkeep 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