]> www.infradead.org Git - users/hch/nvmetcli.git/commitdiff
move the default config into a /etc/nvmet/
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jun 2016 18:26:27 +0000 (20:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Jun 2016 18:26:56 +0000 (20:26 +0200)
no need to clutter /etc directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
README
nvmet/nvme.py

diff --git a/README b/README
index 1af3ed177bb3bb3f2812b72b0088775d29d33727..41d148fdafcca9071067ddc8326e225003f6681f 100644 (file)
--- a/README
+++ b/README
@@ -98,7 +98,7 @@ Saving and restoring the configuration
 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:
 
index f7b4162e7704bf71bcfe313fd603a226c434cf36..3316cabbf6b8e09c05c0c69e2e5dd41d2004b10d 100644 (file)
@@ -24,7 +24,7 @@ import uuid
 import json
 from glob import iglob as glob
 
-DEFAULT_SAVE_FILE = '/etc/nvmet.json'
+DEFAULT_SAVE_FILE = '/etc/nvmet/config.json'
 
 
 class CFSError(Exception):