Support more user variables in the OpenStack builder

This commit is contained in:
Pierre Riteau 2014-05-01 10:23:43 +01:00
parent 92d58a5ede
commit 04d1bc67ff
1 changed files with 8 additions and 4 deletions

View File

@ -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)