I am sorry, Alvaro. That was actually correct. vagrant reload works now.
Still, it is very difficult to understand why changing a .profile file should cause any problems. On Wednesday, August 5, 2015 at 7:15:34 PM UTC-6, Arne Wolframm wrote: > > I tested it, but it is not the problem. > Also, I cannot see how it should be a problem, since that script is only > writing a line of code into a file. > > On Wednesday, August 5, 2015 at 5:42:14 PM UTC-6, Alvaro Miranda Aguilera > wrote: >> >> hello >> >> it's the boostrap script. >> >> It's changing something in the login that breaks vagrant. >> >> couple of suggestions >> >> 1. run the script a vagrant, since today is running as root: >> >> config.vm.provision :shell, path: "bootstrap.sh", privileged: false >> >> So what's clonning, is with root privileges >> >> >> I think this is guilty: >> >> echo "sudo vim +qall" >> /home/vagrant/.profile >> >> Comment that out and test >> >> vagrant destroy >> vagrant up >> vagrant reload >> >> >> >> >> >> On Thu, Aug 6, 2015 at 11:32 AM, Arne Wolframm <[email protected]> >> wrote: >> > I tried running the same Vagrantfile with Ubuntu 14.04 Trusty >> > (ubuntu/trusty64) and I get the same problem. >> > >> > Maybe it has to do with VBox 5? >> > >> > >> > On Wednesday, August 5, 2015 at 5:12:51 PM UTC-6, Arne Wolframm wrote: >> >> >> >> Dear Alvaro, >> >> >> >> Hmmm, so it runs on OSX... >> >> >> >> Please find attached my Vagrantfile and the bootstrap.sh. They are >> both >> >> very basic, so I just attached them here. The .vimrc is also part of >> the >> >> startup. >> >> >> >> Vagrantfile calls bootstrap.sh... >> >> >> >> Here is the gist https://gist.github.com/15825bcbc0798fd02d58.git >> >> >> >> Arne >> >> >> >> On Wednesday, August 5, 2015 at 4:56:06 PM UTC-6, Alvaro Miranda >> Aguilera >> >> wrote: >> >>> >> >>> On Thu, Aug 6, 2015 at 10:30 AM, Arne Wolframm <[email protected]> >> >>> wrote: >> >>> > "ubuntu/vivid64" >> >>> >> >>> Hello Arne, >> >>> >> >>> I am testing this: >> >>> >> >>> ubuntu/vivid64 >> >>> >> >>> $ mkdir vivid64 >> >>> $ cd vivid64/ >> >>> $ vagrant init -m ubuntu/vivid64 >> >>> $ time vagrant up --provider=virtualbox >> >>> >> >>> I do a vagrant reload, and it restart just fine. >> >>> >> >>> I did test on OSX. >> >>> >> >>> Can you share your provisioning script? the best will be take any >> >>> secret/password out and use gist (gist.github.com) >> > >> > -- >> > 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/a59d4b10-da5d-4b82-bf42-242b616df08e%40googlegroups.com. >> >> >> > >> > 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/37d3d8ad-3873-4a28-b328-2cee90d702f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
