From fe87bed247322852dcbf336f4d12e9c8b2fc4ec0 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig <hch@lst.de> Date: Thu, 24 Mar 2016 16:20:57 +0100 Subject: [PATCH] nvmetcli: fix up the default config file to agree with the documentation Signed-off-by: Christoph Hellwig <hch@lst.de> --- nvmet/nvme.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nvmet/nvme.py b/nvmet/nvme.py index c182040..e1b76b3 100644 --- a/nvmet/nvme.py +++ b/nvmet/nvme.py @@ -24,7 +24,7 @@ import uuid import json from glob import iglob as glob -DEFAULT_SAVE_FILE = 'saveconfig.json' +DEFAULT_SAVE_FILE = '/etc/nvmet.json' class CFSError(Exception): @@ -230,7 +230,6 @@ class Root(CFSNode): def save_to_file(self, savefile=None): ''' Write the configuration in json format to a file. - Save file defaults to '/etc/targets/saveconfig.json'. ''' if savefile: savefile = os.path.expanduser(savefile) -- GitLab