Only print file name
This commit is contained in:
parent
9809b798cc
commit
5ad2dda6d4
|
@ -358,9 +358,9 @@ def vm_modify(domain, config, editor, restart):
|
||||||
config.close()
|
config.close()
|
||||||
|
|
||||||
if restart:
|
if restart:
|
||||||
click.echo('Replacing config of VM "{}" with file "{}" and restarting.'.format(dom_name, config))
|
click.echo('Replacing config of VM "{}" with file "{}" and restarting.'.format(dom_name, config.name))
|
||||||
else:
|
else:
|
||||||
click.echo('Replacing config of VM "{}" with file "{}".'.format(dom_name, config))
|
click.echo('Replacing config of VM "{}" with file "{}".'.format(dom_name, config.name))
|
||||||
|
|
||||||
retcode, retmsg = pvc_vm.modify_vm(zk_conn, domain, restart, new_vm_config)
|
retcode, retmsg = pvc_vm.modify_vm(zk_conn, domain, restart, new_vm_config)
|
||||||
cleanup(retcode, retmsg, zk_conn)
|
cleanup(retcode, retmsg, zk_conn)
|
||||||
|
|
Loading…
Reference in New Issue