From f1dd0811d89280a0f126cf9024fc27f5f48b2169 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Mon, 19 Dec 2016 13:47:09 -0800 Subject: [PATCH] builders/openstack: fix for finding resource by ID. Pass server serviceClient to create params so it can look up resources by ID. Resolves #4299 --- builder/openstack/step_run_source_server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/openstack/step_run_source_server.go b/builder/openstack/step_run_source_server.go index 88a5109ba..599c1e998 100644 --- a/builder/openstack/step_run_source_server.go +++ b/builder/openstack/step_run_source_server.go @@ -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