diff --git a/builder/openstack/step_run_source_server.go b/builder/openstack/step_run_source_server.go index 00c5420a0..fc108b098 100644 --- a/builder/openstack/step_run_source_server.go +++ b/builder/openstack/step_run_source_server.go @@ -48,7 +48,7 @@ func (s *StepRunSourceServer) Run(_ context.Context, state multistep.StateBag) m networks[i].Port = s.Ports[i] } for ; i < len(networks); i++ { - networks[i].UUID = s.Networks[i] + networks[i].UUID = s.Networks[i-len(s.Ports)] } userData := []byte(s.UserData)