Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

[VSPHERE] Support multiple networks#4140

Merged
shin- merged 2 commits intodocker-archive-public:masterfrom
SvenDowideit:support-multiple-networks
Jul 13, 2017
Merged

[VSPHERE] Support multiple networks#4140
shin- merged 2 commits intodocker-archive-public:masterfrom
SvenDowideit:support-multiple-networks

Conversation

@SvenDowideit
Copy link
Copy Markdown
Contributor

I'm working on some proxied host testing, so I wanted to use machine to create my proxy server....

machine -D create --driver vmwarevsphere \
	--vmwarevsphere-vcenter 10.10.10.2 \
	--vmwarevsphere-boot2docker-url rancheros.iso \
	--vmwarevsphere-network "VM Network" \
	--vmwarevsphere-network internal \
                   dualhome

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
…ines to make machine panic

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Copy link
Copy Markdown
Contributor

@shin- shin- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just 1 nit

}
}
// d.Network needs to remain a string to cope with existing machines :/
d.Network = d.Networks[0]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this used anywhere else? If not, we may want to set it to empty string instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at the output of machine inspect, I think its better to keep it compatible and fill it with something - to differentiate from a vm with no networking. (and yup, I'm going to be using no-network vm's in future)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems that both and empty string, and a csv version makes the provisioning step break - I don't really have the tuits to test all the provisioners, so I'm hoping you'll let this pass for now :)

@shin- shin- added this to the 0.13.0 milestone Jul 7, 2017
@SvenDowideit
Copy link
Copy Markdown
Contributor Author

@shin- ?

@shin-
Copy link
Copy Markdown
Contributor

shin- commented Jul 13, 2017

👍

@shin- shin- merged commit a6e6a3b into docker-archive-public:master Jul 13, 2017
@SvenDowideit SvenDowideit deleted the support-multiple-networks branch July 20, 2017 01:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants