update config.ini to secrets.ini

This commit is contained in:
2020-08-03 18:51:15 -04:00
parent c17dbeb3e8
commit b5adca8380

View File

@@ -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))