Merge pull request #7451 from bh9/master

Allow both ports and networks in openstack builder
This commit is contained in:
Megan Marsh 2019-04-01 09:30:39 -07:00 committed by GitHub
commit 874a4ff8c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)