diff --git a/examples/simple-proliant.py b/examples/simple-proliant.py index a2f2a54..806b4d9 100644 --- a/examples/simple-proliant.py +++ b/examples/simple-proliant.py @@ -23,7 +23,7 @@ if HOME == '': sys.exit(1) try: - with open(HOME + "/.redfish.conf") as json_data: + with open(HOME + "/.redfish/inventory") as json_data: config = json.load(json_data) json_data.close() except IOError as e: diff --git a/examples/simple-simulator.py b/examples/simple-simulator.py index 3e73387..b431d67 100644 --- a/examples/simple-simulator.py +++ b/examples/simple-simulator.py @@ -21,7 +21,7 @@ if HOME == '': sys.exit(1) try: - with open(HOME + "/.redfish.conf") as json_data: + with open(HOME + "/.redfish/inventory") as json_data: config = json.load(json_data) json_data.close() except IOError as e: diff --git a/redfish-client/redfish-client b/redfish-client/redfish-client index fffd91e..ac4d327 100755 --- a/redfish-client/redfish-client +++ b/redfish-client/redfish-client @@ -20,7 +20,7 @@ redfish-client :: -h --help Show this screen. --version Show version. -c --config FILE Configuration file - -i --inventory FILE Configuration file [default: $HOME/.redfish.conf] + -i --inventory FILE Configuration file [default: $HOME/.redfish/inventory] --insecure Ignore SSL certificates --debug LEVEL Run in debug mode, LEVEL from 1 to 3 increase verbosity Security warning LEVEL > 1 could reveal password into the logs @@ -61,7 +61,7 @@ class InventoryFile(object): If the file does not exist create an empty one ready to receive data :param inventory_file: File name of the configuration file - default: ~/.redfish.conf + default: ~/.redfish/inventory :type config-file: str :returns: Nothing