Merge pull request #20 from ddelnano/update-shutdown-docs

Update docs on  and remove it from the examples in favor of the default behavior
This commit is contained in:
Dom Del Nano 2021-03-30 22:48:30 -07:00 committed by GitHub
commit a472fd2b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 9 deletions

View File

@ -150,13 +150,9 @@ each category, the available options are alphabetized and described.
``` ```
* `shutdown_command` (string) - The command to use to gracefully shut down * `shutdown_command` (string) - The command to use to gracefully shut down
the machine once all the provisioning is done. By default this is an empty the machine once all the provisioning is done. If this is omitted, packer
string, which tells Packer to just forcefully shut down the machine. will shut down the VM gracefully through the Xen api's vm shutdown command. Unless
you have special requirements this should typically be left to its default.
* `shutdown_timeout` (string) - The amount of time to wait after executing
the `shutdown_command` for the virtual machine to actually shut down.
If it doesn't shut down in this time, it is an error. By default, the timeout
is "5m", or five minutes.
* `ssh_host_port_min` and `ssh_host_port_max` (integer) - The minimum and * `ssh_host_port_min` and `ssh_host_port_max` (integer) - The minimum and
maximum port to use for the SSH port on the host machine which is forwarded maximum port to use for the SSH port on the host machine which is forwarded

View File

@ -30,7 +30,6 @@
"conversionvm":"true" "conversionvm":"true"
}, },
"output_directory": "packer-centos-8.3-x86_64-xenserver", "output_directory": "packer-centos-8.3-x86_64-xenserver",
"shutdown_command": "/sbin/shutdown",
"ssh_username": "vagrant", "ssh_username": "vagrant",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_wait_timeout": "10000s", "ssh_wait_timeout": "10000s",

View File

@ -30,7 +30,6 @@
"conversionvm":"true" "conversionvm":"true"
}, },
"output_directory": "packer-ubuntu-2004-x86_64-xenserver", "output_directory": "packer-ubuntu-2004-x86_64-xenserver",
"shutdown_command": "/sbin/shutdown",
"ssh_username": "testuser", "ssh_username": "testuser",
"ssh_password": "ubuntu", "ssh_password": "ubuntu",
"ssh_wait_timeout": "60000s", "ssh_wait_timeout": "60000s",