mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-24 04:00:28 +00:00
Allow to be able to specify prefix as well
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user