no need to clutter /etc directly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
The saveconfig and restoreconfig commands inside nvmetcli save and restore
the current configuration, but you can also invoke these commands for the
command line using the load and restore arguments to nvmetcli. Without
-an additional file name these operate on /etc/nvmet.json.
+an additional file name these operate on /etc/nvmet/config.json.
To load the loop + explicit host version above do the following:
import json
from glob import iglob as glob
-DEFAULT_SAVE_FILE = '/etc/nvmet.json'
+DEFAULT_SAVE_FILE = '/etc/nvmet/config.json'
class CFSError(Exception):