any particular reason you need multiple address on the same nic?

if you put private network ipv4
and private network ipv6

will be more portable, and the box will get the both ip you are after.


On Wed, Mar 23, 2016 at 10:10 AM, pixel fairy <[email protected]> wrote:

> is there a clean syntax for multiple addresses on the same private network
> link?
>
> ive been doing it like this
>
> foo.vm.network "private_network", ip: "1.2.3.4"
> foo.vm.provision "shell", inline: "ip address add 2001:db8::1234 dev eth1"
>
>
> but thats messy and obviously not portable.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/498e63c1-eb38-46fc-804d-d5209cd0a794%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/498e63c1-eb38-46fc-804d-d5209cd0a794%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0exbXq88zpMOjUTJVLZ-cn8xtRjBDbWzknP%3DoZ3hOUrM0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to