mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-21 17:11:58 +00:00
Allow to be able to specify prefix as well
This commit is contained in:
parent
eee8bbb498
commit
378929579f
@ -72,7 +72,9 @@ def run():
|
||||
elif options.substitutename and not options.loginname:
|
||||
subname = options.substitutename
|
||||
if '{' not in subname:
|
||||
cmdstr += ' {node}' + '{}:'.format(options.substitutename) + targpath
|
||||
cmdstr += ' {node}' + '{}:'.format(subname) + targpath
|
||||
else:
|
||||
cmdstr += ' {}:'.format(subname) + targpath
|
||||
else:
|
||||
cmdstr += ' {node}:' + targpath
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user