Hello there, We spoke over gtalk, so I am going to summarize here.
the /etc/resolv.conf in your ubuntu box get modified by the OS, and you tried to stop that and didn't work. That is not a Vagrant or Virtualbox issue, it's a feature in the OS. I did send to you a Vagrantfile for Oracle linux 6.5, you can change to use centos I did test it, and it's what I use for my test case, and PEERDNS=no in /etc/sysconfig/network-scripts/ifcfg-eth0 stop that So, give it a try, test it.. you will see it works. You can install the epel rpm in that vm and use puppet for your test. http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm something like config.vm.provision :shell, :inline => "yum install -y http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm" Feel free to email me if you have issues (mailme directly if you will write in other language rather than english please :) ) Alvaro. On Tue, Jun 10, 2014 at 8:46 PM, Almudena Soblechero Garcia < [email protected]> wrote: > Hola Álvaro, buenos días, mi inglés tampoco es muy bueno que digamos, pero > vamos a intentarlo ;) > > Hello Álvaro, good morning, my english...in't perfect, but lets go to try > it!! > > > Well, i explain my configuration: > > > I use Vagrant for virtualbox distribution, and im trying to attempt to > build a client-server environment, with vagrant and puppet tools, but, > for that enviroment booth vm had have dns configuration, with a dns server > and dns clients. > > > to achieve this, its necessary configuration the booth resol.conf files, > and that file, with, the vagrant reboot, put me the VAGRANT NAT > configuration... > I do not know if I'm explaining it right... I want to have my own > resolv.conf configuration, and when i reboot my vagrant vm, my > configuration are losed... > > > Ther's any sugestion? :( > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
Vagrantfile
Description: Binary data
