Support user variables for all OpenStack string config options

This commit is contained in:
Jen Spinney 2015-01-30 18:02:59 -08:00
parent e3c2f01cb8
commit 40fdb15d03
1 changed files with 7 additions and 4 deletions

View File

@ -72,6 +72,9 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
"ssh_timeout": &c.RawSSHTimeout, "ssh_timeout": &c.RawSSHTimeout,
"ssh_username": &c.SSHUsername, "ssh_username": &c.SSHUsername,
"source_image": &c.SourceImage, "source_image": &c.SourceImage,
"openstack_provider": &c.OpenstackProvider,
"floating_ip_pool": &c.FloatingIpPool,
"floating_ip": &c.FloatingIp,
} }
for n, ptr := range templates { for n, ptr := range templates {