From bf19c845f956577f3da9babf4a7568661f9f92aa Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 13 Oct 2019 01:27:58 -0400 Subject: fix nbd-server config --- conf/nbd-server | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'conf') diff --git a/conf/nbd-server b/conf/nbd-server index a106b7d..de5b28b 100644 --- a/conf/nbd-server +++ b/conf/nbd-server @@ -1,11 +1,6 @@ -[generic] -# If you want to run everything as root rather than the nbd user, you -# may either say "root" in the two following lines, or remove them -# altogether. Do not remove the [generic] section, however. - user = nbd - group = nbd - includedir = /etc/nbd-server/conf.d - allowlist = true - -# What follows are export definitions. You may create as much of them as -# you want, but the section header has to be unique. +[samizdat.iso] + exportname = /srv/nbd/samizdat.iso + readonly = true +[samizdat.btrfs] + exportname = /srv/nbd/samizdat.btrfs + readonly = true -- cgit v1.2.3