From b8b9b18fafa2c9fe16b883d6e838f0f91d694f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 12 Jun 2013 22:32:48 +0200 Subject: [PATCH] wcsinst: fix wcsctl call --- wcsinst/wcsinstd/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcsinst/wcsinstd/deploy.py b/wcsinst/wcsinstd/deploy.py index c9faaef..ba13c68 100644 --- a/wcsinst/wcsinstd/deploy.py +++ b/wcsinst/wcsinstd/deploy.py @@ -120,9 +120,9 @@ class DeployInstance(object): params = [] for param in ('dbname', 'user', 'password', 'host', 'port'): if wcs_cfg.get('postgresql').get(param): - params.append(param) + params.append('--' + param) params.append(wcs_cfg.get('postgresql').get(param)) - os.system('%s convertsql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), self.domain)) + os.system('%s convert-to-sql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), self.domain)) def make_sso_config(self, wcs_cfg): has_idff = False