Browse Source

Fixed typo in ad_domain variable

cybergavin 4 years ago
parent
commit
697d71d52a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      self-service/ntx_ssvm_customize.py

+ 1 - 1
self-service/ntx_ssvm_customize.py

@@ -177,7 +177,7 @@ try:
                 logger.info('Joined VM %s to the %s AD Domain', script_host, ad_domain)
                 logger.info('Joined VM %s to the %s AD Domain', script_host, ad_domain)
             else:
             else:
                 logger.error('Failed to join VM %s to the %s AD Domain',
                 logger.error('Failed to join VM %s to the %s AD Domain',
-                script_host, config['active_directory']['ad_domain'])
+                script_host, ad_domain)
             if not subprocess.run(
             if not subprocess.run(
                 f'{ENABLE_SSSD_CMD}',
                 f'{ENABLE_SSSD_CMD}',
                 shell=True,
                 shell=True,