Skip to content
Snippets Groups Projects
Commit fe87bed2 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvmetcli: fix up the default config file to agree with the documentation


Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent c6b14748
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ import uuid ...@@ -24,7 +24,7 @@ import uuid
import json import json
from glob import iglob as glob from glob import iglob as glob
DEFAULT_SAVE_FILE = 'saveconfig.json' DEFAULT_SAVE_FILE = '/etc/nvmet.json'
class CFSError(Exception): class CFSError(Exception):
...@@ -230,7 +230,6 @@ class Root(CFSNode): ...@@ -230,7 +230,6 @@ class Root(CFSNode):
def save_to_file(self, savefile=None): def save_to_file(self, savefile=None):
''' '''
Write the configuration in json format to a file. Write the configuration in json format to a file.
Save file defaults to '/etc/targets/saveconfig.json'.
''' '''
if savefile: if savefile:
savefile = os.path.expanduser(savefile) savefile = os.path.expanduser(savefile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment