Commit cfd200a8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #1098 from priteau/openstack-user-variables

builder/openstack: Support more user variables in the OpenStack builder
parents 92d58a5e 04d1bc67
...@@ -83,8 +83,12 @@ func (c *AccessConfig) Prepare(t *packer.ConfigTemplate) []error { ...@@ -83,8 +83,12 @@ func (c *AccessConfig) Prepare(t *packer.ConfigTemplate) []error {
templates := map[string]*string{ templates := map[string]*string{
"username": &c.Username, "username": &c.Username,
"password": &c.Password, "password": &c.Password,
"apiKey": &c.ApiKey, "api_key": &c.ApiKey,
"provider": &c.Provider, "provider": &c.Provider,
"project": &c.Project,
"tenant_id": &c.TenantId,
"region": &c.RawRegion,
"proxy_url": &c.ProxyUrl,
} }
errs := make([]error, 0) errs := make([]error, 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment