Add debug key to ccp command execution

- Add debug and verbose keys to ccp command execution

Change-Id: I5cb187ec293d54e06ac03f930d0efab89891796b
This commit is contained in:
asledzinskiy 2016-12-09 12:27:10 +02:00
parent 97989e87ae
commit a81ceb069c
1 changed files with 3 additions and 2 deletions

View File

@ -157,11 +157,12 @@ class CCPManager(object):
else: else:
components = '' components = ''
cmd = "ccp {params} {cmd} {components} {ccp_out_redirect}".format( cmd = ("ccp -v --debug {params} {cmd} {components}"
" {ccp_out_redirect}").format(
params=params, cmd=cmd, components=components, params=params, cmd=cmd, components=components,
ccp_out_redirect=ccp_out_redirect) ccp_out_redirect=ccp_out_redirect)
else: else:
cmd = "ccp {cmd} {ccp_out_redirect}".format( cmd = "ccp -v --debug {cmd} {ccp_out_redirect}".format(
cmd=cmd, ccp_out_redirect=ccp_out_redirect) cmd=cmd, ccp_out_redirect=ccp_out_redirect)
LOG.info("Running {cmd}".format(cmd=cmd)) LOG.info("Running {cmd}".format(cmd=cmd))