From 8c8de275094f8f543c2ed265a00f79bba3789324 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 24 Jan 2020 09:02:30 -0800 Subject: [PATCH] add note about error abort to vmware warning --- builder/vmware/common/driver.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builder/vmware/common/driver.go b/builder/vmware/common/driver.go index 525c13d2e..d017336ad 100644 --- a/builder/vmware/common/driver.go +++ b/builder/vmware/common/driver.go @@ -187,7 +187,9 @@ func runAndLog(cmd *exec.Cmd) (string, string, error) { "often has extremely vague error messages such as this and Packer\n"+ "itself can't do much about that. Please check the vmware.log files\n"+ "created by VMware when a VM is started (in the directory of the\n"+ - "vmx file), which often contains more detailed error information.") + "vmx file), which often contains more detailed error information.\n\n"+ + "You may need to set the command line flag --on-error=abort to\n\n"+ + "prevent Packer from cleaning up the vmx file directory.") } }