From 10469ac3e0ea4af15b1aa39a632620ea2ec1e6ba Mon Sep 17 00:00:00 2001 From: Cheng Sun <_@chengsun.uk> Date: Mon, 5 Jan 2015 15:01:47 +0000 Subject: [PATCH] Document keep_vm parameter --- docs/builders/xenserver-iso.html.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/builders/xenserver-iso.html.markdown b/docs/builders/xenserver-iso.html.markdown index f1ba972..e23e55a 100644 --- a/docs/builders/xenserver-iso.html.markdown +++ b/docs/builders/xenserver-iso.html.markdown @@ -143,6 +143,13 @@ each category, the available options are alphabetized and described. must point to the same file (same checksum). By default this is empty and `iso_url` is used. Only one of `iso_url` or `iso_urls` can be specified. +* `keep_vm` (string) - Determine when to keep the VM and when to clean it up. This + can be "always", "never" or "on_success". By default this is "never", and Packer + always deletes the VM regardless of whether the process succeeded and an artifact + was produced. "always" asks Packer to leave the VM at the end of the process + regardless of success. "on_success" requests that the VM only be cleaned up if an + artifact was produced. The latter is useful for debugging templates that fail. + * `output_directory` (string) - This is the path to the directory where the resulting virtual machine will be created. This may be relative or absolute. If relative, the path is relative to the working directory when `packer`