2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Allow to be able to specify prefix as well

This commit is contained in:
tkucherera 2023-09-28 08:56:52 -04:00
parent eee8bbb498
commit 378929579f

View File

@ -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