config_tools: fix delete vm failed issue
fix delete vm failed issue
@@ -257,7 +257,7 @@ export default {
msg = "Post-launched VMs require the Service VM. If you proceed, all post-launched VMs and their settings will also be deleted. Are you sure you want to proceed?"
isserivevm = true
} else {
- let vmName = this.scenario.vm[this.activeVMID].name
+ let vmName = vmConfigcurrent.name
msg = `Delete this virtual machine? ${vmName}\n\nThe associated launch script will also be deleted if it exists.`
}
confirm(msg).then((r) => {
