Merge branch 'zero-below-triton_cloud_config'
This commit is contained in:
commit
fcddc1d077
|
@ -23,6 +23,7 @@ var (
|
|||
"user_script": "user-script",
|
||||
"user_data": "user-data",
|
||||
"administrator_pw": "administrator-pw",
|
||||
"cloud_config": "cloud-init:user-data",
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -182,6 +183,12 @@ func resourceMachine() *schema.Resource {
|
|||
Optional: true,
|
||||
Computed: true,
|
||||
},
|
||||
"cloud_config": {
|
||||
Description: "copied to machine on boot",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
},
|
||||
"user_data": {
|
||||
Description: "Data copied to machine on boot",
|
||||
Type: schema.TypeString,
|
||||
|
|
|
@ -77,6 +77,9 @@ The following arguments are supported:
|
|||
* `administrator_pw` - (string)
|
||||
The initial password for the Administrator user. Only used for Windows virtual machines.
|
||||
|
||||
* `cloud_config` - (string)
|
||||
Cloud-init configuration for Linux brand machines, used instead of `user_data`.
|
||||
|
||||
The nested `nic` block supports the following:
|
||||
* `network` - (string, Optional)
|
||||
The network id to attach to the network interface. It will be hex, in the format: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`.
|
||||
|
|
Loading…
Reference in New Issue