From d3e0fd128b7c7486f0fbf9533f0ed78c1fee5edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 1 Feb 2016 17:54:12 +0100 Subject: [PATCH] Feature #4215: Remove epilog command from vmm attachnic --- src/vmm/VirtualMachineManager.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/vmm/VirtualMachineManager.cc b/src/vmm/VirtualMachineManager.cc index 265e5e1843..31e2c35636 100644 --- a/src/vmm/VirtualMachineManager.cc +++ b/src/vmm/VirtualMachineManager.cc @@ -2385,7 +2385,6 @@ void VirtualMachineManager::attach_nic_action( string vm_tm_mad; string opennebula_hostname; string prolog_cmd; - string epilog_cmd; string disk_path; string token_password; @@ -2456,12 +2455,6 @@ void VirtualMachineManager::attach_nic_action( os.str(""); - tm->epilog_transfer_command(vm, disk, os); - - epilog_cmd = os.str(); - - os.str(""); - disk->vector_value("DISK_ID", disk_id); os << vm->get_remote_system_dir() << "/disk." << disk_id; @@ -2480,7 +2473,7 @@ void VirtualMachineManager::attach_nic_action( "", "", prolog_cmd, - epilog_cmd, + "", disk_path, vm->to_xml(vm_tmpl), vm->get_ds_id());