Skip to content

WaitForNetIP and docker-backed vcsim VM #3020

Closed Answered by dougm
BrianMMcClain asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @BrianMMcClain ! Thanks for the details and sorry for the delay. The patch below should fix, I'll update the tests and open a PR soon (need to resolve another issue first).

diff --git a/simulator/container.go b/simulator/container.go
index 08f8f7ed..650c1997 100644
--- a/simulator/container.go
+++ b/simulator/container.go
@@ -114,6 +114,18 @@ func (c *container) inspect(vm *VirtualMachine) error {
                        net := &vm.Guest.Net[0]
                        net.IpAddress = []string{s.IPAddress}
                        net.MacAddress = s.MacAddress
+                       net.IpConfig = &types.NetIpConfigInfo{
+                               IpAddress: []types.NetIpConfigInf…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@BrianMMcClain
Comment options

@BrianMMcClain
Comment options

@dougm
Comment options

Answer selected by BrianMMcClain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants