diff --git a/kvmagent/kvmagent/plugins/vm_plugin.py b/kvmagent/kvmagent/plugins/vm_plugin.py index a5a571665f50ad74284f303c081a5e44b71cc7d2..fa6181a89e2f0569033052c7837fccfed47c697c 100644 --- a/kvmagent/kvmagent/plugins/vm_plugin.py +++ b/kvmagent/kvmagent/plugins/vm_plugin.py @@ -4726,7 +4726,7 @@ class Vm(object): '--oper=add', '--vm_project_uuid=%s' % transform_to_tf_uuid(cmd.accountUuid), '--instance_uuid=%s' % transform_to_tf_uuid(cmd.vmInstanceUuid), - ' --vm_name=%s' % cmd.vmName, + '--vm_name=', '--uuid=%s' % transform_to_tf_uuid(nic.uuid), '--vn_uuid=%s' % transform_to_tf_uuid(nic.l2NetworkUuid), '--port_type=NovaVMPort', @@ -5080,7 +5080,7 @@ class VmPlugin(kvmagent.KvmAgent): '--oper=add', '--vm_project_uuid=%s' % transform_to_tf_uuid(cmd.accountUuid), '--instance_uuid=%s' % transform_to_tf_uuid(cmd.vmInstanceUuid), - ' --vm_name=%s' % cmd.vmName, + '--vm_name=', '--uuid=%s' % transform_to_tf_uuid(nic.uuid), '--vn_uuid=%s' % transform_to_tf_uuid(nic.l2NetworkUuid), '--port_type=NovaVMPort',