Discussion:
[vagrant-up] When packaging a base box, private interface are missing
Shankar B
2018-08-24 11:01:41 UTC
Permalink
Hi,

I have two nics enabled in my guest VM. One in NAT and another is Host Only
Adapater.
But after packaging, i got a box and if i do vagrant init, i donot get Host
only adapters.
How do i get host only in my vagrantfile.

I tried putting Vagrantfile when packaging. But vagrantfile generated with
vagrant init doesnt have my configs.
I just need to have this config -> config.vm.network "private_network",
ip: "10.10.100.101" in vagrantfile along with default configs we get from
vagrant init.

D:\Vagrant_boxes>vagrant -v
Vagrant 2.1.2

Virtual box version is 5.2.16

Thanks,

Shankar B.
--
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/492332ee-b306-4a64-93e7-fc94dfdea605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-09-03 12:35:06 UTC
Permalink
if you share the code you use to package , and the sample vagrant file will
be easier to help
--
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewnY4MVduggCxUXMBQzcMqOfJrOgwj99YPTN-5w6_hs%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...