OpenStack builder: Make region not required

Perhaps "region" is required when using a public provider like
Rackspace? It's not required for my private cloud from Metacloud. I
suspect a lot of private clouds have only a single region and thus don't
need "region" to be specified.
This commit is contained in:
Marc Abramowitz 2014-08-15 00:32:53 -07:00
parent 70cc555133
commit 69500b6943
1 changed files with 0 additions and 4 deletions

View File

@ -115,10 +115,6 @@ func (c *AccessConfig) Prepare(t *packer.ConfigTemplate) []error {
}
}
if c.Region() == "" {
errs = append(errs, fmt.Errorf("region must be specified"))
}
if len(errs) > 0 {
return errs
}