- config nbd-server
- option enabled 0
- # option port 10809
- # option user root
- # option group root
- # option allowlist 0
- # option includedir '/etc/nbd-server/conf.d'
- # option listenaddr '0.0.0.0'
- # option oldstyle 0
-
- config share usb_sda1
- option filename '/dev/sda1'
- # option authfile '/etc/nbd-server/allow'
- # option timeout 0
- # option flush 0
- # option fua 0
- # option rotational 0
- # option sync 0
- # option discard 0
- # option maxconnections 10
- # option filesize 1000000
- # option multifile 0
- # option copyonwrite 0
- # option sparse_cow 1
- # option readonly 0
- # option prerun '/bin/true'
- # option postrun '/bin/true'
- # option virtstyle 'ipliteral'
- # option oldstyle_port 12345
- # option oldstyle_listenaddr '0.0.0.0'
-
|