diff --git a/wcsinst/wcsinstd/deploy.py b/wcsinst/wcsinstd/deploy.py index 27408d7..b4a7244 100644 --- a/wcsinst/wcsinstd/deploy.py +++ b/wcsinst/wcsinstd/deploy.py @@ -127,7 +127,8 @@ class DeployInstance(object): else: params.append('--' + param) params.append(wcs_cfg.get('postgresql').get(param)) - os.system('%s convert-to-sql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), self.domain)) + os.system('%s convert-to-sql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), + os.path.basename(self.collectivity_install_dir))) def make_sso_config(self, wcs_cfg): has_idff = False