Remove hard coded value for config file

The config file directory was hardcoded, use the actual value

Change-Id: I93dd93d5f8ce4e5effcf7d020b372f69cb28901b
This commit is contained in:
croy 2024-12-02 16:14:07 -05:00
parent 456e942169
commit de7e076a14

View File

@ -222,7 +222,7 @@ def retrieve_subclouds(lab_config: LabConfig, ssh_connection: SSHConnection) ->
""" """
subclouds: [LabConfig] = [] subclouds: [LabConfig] = []
lab_config_directory = 'config/lab/files' lab_config_directory = os.path.split(lab_config.get_lab_config_file())[0] # get the config directory
dcmanager_subcloud_list_keywords = DcManagerSubcloudListKeywords(ssh_connection) dcmanager_subcloud_list_keywords = DcManagerSubcloudListKeywords(ssh_connection)
dcmanager_subclouds = dcmanager_subcloud_list_keywords.get_dcmanager_subcloud_list() dcmanager_subclouds = dcmanager_subcloud_list_keywords.get_dcmanager_subcloud_list()