Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get/Set private/public ip in Vagrantfile like virtualbox or aws #210

Open
juju4 opened this issue Sep 17, 2015 · 0 comments
Open

Get/Set private/public ip in Vagrantfile like virtualbox or aws #210

juju4 opened this issue Sep 17, 2015 · 0 comments

Comments

@juju4
Copy link

juju4 commented Sep 17, 2015

Hello,

I'm a beginner with digital ocean and try to interact it with Vagrant. it's working ok for simple Vagrantfile but now, I'm trying to port a multi-box configuration.
Basically, the setting is a monitoring server and 2 clients nodes.

My problem: from a Vagrant unique file, how can I get (or set) IP of the server to push it inside client nodes.
Ideally, there would be cases, when I will need to push client IPs to the server, so if it can be retrieved, better.
With a local provider, I can set private network ip, same for aws. I don't see any option with digital ocean. don't believe any of them can do public ip.
Ex:
http://nitschinger.at/A-Couchbase-Cluster-in-Minutes-with-Vagrant-and-Puppet
http://spin.atomicobject.com/2014/02/14/constructing-vagrant-cluster-chef-development/

is it a coding issue? or an API one?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants