update config.ini to secrets.ini
This commit is contained in:
@@ -179,7 +179,7 @@ if __name__ == '__main__':
|
||||
# get directory of script to load config.ini correctly
|
||||
cwd = os.path.dirname(os.path.realpath(__file__))
|
||||
parser = configparser.ConfigParser()
|
||||
parser.read(cwd + '/config.ini')
|
||||
parser.read(cwd + '/secrets.ini')
|
||||
encrypted_root_password = parser.get('DEFAULT', 'encrypted_root_password')
|
||||
root_password = decrypt(client, encrypted_root_password)
|
||||
logger.debug("Root password: {0}".format(root_password))
|
||||
|
||||
Reference in New Issue
Block a user