builders/openstack: fix for finding resource by ID.

Pass server serviceClient to create params so it can look up resources by ID.
Resolves #4299
This commit is contained in:
Matthew Hooker 2016-12-19 13:47:09 -08:00
parent 221a74cedc
commit f1dd0811d8
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ func (s *StepRunSourceServer) Run(state multistep.StateBag) multistep.StepAction
AvailabilityZone: s.AvailabilityZone,
UserData: userData,
ConfigDrive: &s.ConfigDrive,
ServiceClient: computeClient,
}
var serverOptsExt servers.CreateOptsBuilder