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:
commit
a472fd2b02
@ -150,13 +150,9 @@ each category, the available options are alphabetized and described.
|
||||
```
|
||||
|
||||
* `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
|
||||
string, which tells Packer to just forcefully shut down the machine.
|
||||
|
||||
* `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.
|
||||
the machine once all the provisioning is done. If this is omitted, packer
|
||||
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.
|
||||
|
||||
* `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
|
||||
|
@ -30,7 +30,6 @@
|
||||
"conversionvm":"true"
|
||||
},
|
||||
"output_directory": "packer-centos-8.3-x86_64-xenserver",
|
||||
"shutdown_command": "/sbin/shutdown",
|
||||
"ssh_username": "vagrant",
|
||||
"ssh_password": "vagrant",
|
||||
"ssh_wait_timeout": "10000s",
|
||||
|
@ -30,7 +30,6 @@
|
||||
"conversionvm":"true"
|
||||
},
|
||||
"output_directory": "packer-ubuntu-2004-x86_64-xenserver",
|
||||
"shutdown_command": "/sbin/shutdown",
|
||||
"ssh_username": "testuser",
|
||||
"ssh_password": "ubuntu",
|
||||
"ssh_wait_timeout": "60000s",
|
||||
|
Loading…
Reference in New Issue
Block a user