Commit 40fdb15d authored by Jen Spinney's avatar Jen Spinney

Support user variables for all OpenStack string config options

parent e3c2f01c
...@@ -72,6 +72,9 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error { ...@@ -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 {
......
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