Merge pull request #7451 from bh9/master
Allow both ports and networks in openstack builder
This commit is contained in:
commit
874a4ff8c7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue