docs: user_script add note that Packer will not automatically wait for completion.
This commit is contained in:
parent
cb9944e5e0
commit
e8afb6fcf3
|
@ -180,6 +180,8 @@ builder.
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -478,6 +478,8 @@ builder.
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -474,6 +474,8 @@ builder.
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -384,6 +384,8 @@ builder.
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -467,6 +467,8 @@ builder.
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -171,6 +171,8 @@ builder.
|
||||||
- `user_data` (string) - User data to launch with the instance. This is a
|
- `user_data` (string) - User data to launch with the instance. This is a
|
||||||
[template engine](/docs/templates/engine.html) see _User Data_ bellow for more
|
[template engine](/docs/templates/engine.html) see _User Data_ bellow for more
|
||||||
details.
|
details.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance. This file will be parsed as a
|
data when launching the instance. This file will be parsed as a
|
||||||
|
|
|
@ -84,6 +84,8 @@ builder.
|
||||||
default state timeout is "6m".
|
default state timeout is "6m".
|
||||||
|
|
||||||
- `user_data` (string) - User data to launch with the Droplet.
|
- `user_data` (string) - User data to launch with the Droplet.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the Droplet.
|
data when launching the Droplet.
|
||||||
|
|
|
@ -61,6 +61,8 @@ builder.
|
||||||
- `poll_interval` (string) - Configures the interval in which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
- `poll_interval` (string) - Configures the interval in which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
||||||
|
|
||||||
- `user_data` (string) - User data to launch with the server.
|
- `user_data` (string) - User data to launch with the server.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the server.
|
data when launching the server.
|
||||||
|
|
|
@ -51,6 +51,8 @@ Platform](https://www.ncloud.com/).
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -255,6 +255,8 @@ builder.
|
||||||
- `user_data` (string) - User data to apply when launching the instance. Note
|
- `user_data` (string) - User data to apply when launching the instance. Note
|
||||||
that you need to be careful about escaping characters due to the templates
|
that you need to be careful about escaping characters due to the templates
|
||||||
being JSON. It is often more convenient to use `user_data_file`, instead.
|
being JSON. It is often more convenient to use `user_data_file`, instead.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file that will be used for the user
|
- `user_data_file` (string) - Path to a file that will be used for the user
|
||||||
data when launching the instance.
|
data when launching the instance.
|
||||||
|
|
|
@ -132,6 +132,8 @@ launched instance.
|
||||||
- `user_data` (string) - User data to be used by cloud-init. See [the Oracle docs](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/LaunchInstanceDetails) for more details. Generally speaking, it is easier to use the `user_data_file`,
|
- `user_data` (string) - User data to be used by cloud-init. See [the Oracle docs](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/LaunchInstanceDetails) for more details. Generally speaking, it is easier to use the `user_data_file`,
|
||||||
but you can use this option to put either the plaintext data or the base64
|
but you can use this option to put either the plaintext data or the base64
|
||||||
encoded data directly into your Packer config.
|
encoded data directly into your Packer config.
|
||||||
|
Packer will not automatically wait for a user script to finish before
|
||||||
|
shutting down the instance this must be handled in a provisioner.
|
||||||
|
|
||||||
- `user_data_file` (string) - Path to a file to be used as user data by cloud-init. See [the Oracle docs](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/LaunchInstanceDetails) for more details. Example:
|
- `user_data_file` (string) - Path to a file to be used as user data by cloud-init. See [the Oracle docs](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/LaunchInstanceDetails) for more details. Example:
|
||||||
`"user_data_file": "./boot_config/myscript.sh"`
|
`"user_data_file": "./boot_config/myscript.sh"`
|
||||||
|
|
Loading…
Reference in New Issue