builder/digitalocean: region supports vars [GH-1452]
This commit is contained in:
parent
ae276fd833
commit
90d4bcdbe8
|
@ -8,6 +8,7 @@ IMPROVEMENTS:
|
||||||
|
|
||||||
* builder/amazon-instance: EBS AMIs can be used as a source. [GH-1453]
|
* builder/amazon-instance: EBS AMIs can be used as a source. [GH-1453]
|
||||||
* builder/digitalocean: Can set API URL endpoint. [GH-1448]
|
* builder/digitalocean: Can set API URL endpoint. [GH-1448]
|
||||||
|
* builder/digitalocean: Region supports variables. [GH-1452]
|
||||||
* builder/parallels/all Path to tools ISO is calculated automatically. [GH-1455]
|
* builder/parallels/all Path to tools ISO is calculated automatically. [GH-1455]
|
||||||
* builder/qemu: Can specify "none" acceleration type. [GH-1395]
|
* builder/qemu: Can specify "none" acceleration type. [GH-1395]
|
||||||
* builder/qemu: Can specify "tcg" acceleration type. [GH-1395]
|
* builder/qemu: Can specify "tcg" acceleration type. [GH-1395]
|
||||||
|
|
|
@ -158,6 +158,9 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
templates := map[string]*string{
|
templates := map[string]*string{
|
||||||
|
"region": &b.config.Region,
|
||||||
|
"size": &b.config.Size,
|
||||||
|
"image": &b.config.Image,
|
||||||
"client_id": &b.config.ClientID,
|
"client_id": &b.config.ClientID,
|
||||||
"api_key": &b.config.APIKey,
|
"api_key": &b.config.APIKey,
|
||||||
"api_url": &b.config.APIURL,
|
"api_url": &b.config.APIURL,
|
||||||
|
|
Loading…
Reference in New Issue