Hi There So, just to expand the idea.
In some cases, people include a Vagranfile in the project, so each developer can clone the project, and do vagrant up. If you would like to try that, make sure you exclude '.vagrant' directory, since there is where Vagrant keep track of the VM created for this project. On top of what you have done, you can make the VM more close to what you need, say install nodejs, or php, etc. If you got any question, feel free to reply to this post, or just send a new one. Saludos, Alvaro On Tue, Oct 20, 2015 at 6:35 AM, Aitor Méndez <[email protected]> wrote: > Ok, thank you. > > > El lunes, 19 de octubre de 2015, 4:22:43 (UTC+2), Alvaro Miranda Aguilera > escribió: >> >> Hello, >> >> That is the output of directory listing. >> >> As there is no index.html / index.htm the webserver is listing the >> context. >> >> You can do >> >> echo "Hello world" > /vagrant/index.html >> >> to create one >> >> Alvaro. >> >> >> On Mon, Oct 19, 2015 at 8:44 AM, Aitor Méndez <[email protected]> wrote: >> > Hi, there is one thing that I do not understand. At "Provisioning" >> > chapter, >> > >> > https://docs.vagrantup.com/v2/getting-started/provisioning.html >> > >> > after >> > >> > vagrant@precise32:~$ wget -qO- 127.0.0.1 >> > >> > I get, in my terminal, the HTML of index.html file (autogenerated by >> > vagrant): >> > >> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> >> > <html> >> > <head> >> > <title>Index of /</title> >> > </head> >> > <body> >> > <h1>Index of /</h1> >> > <table><tr><th><img >> > src="/icons/blank.gif" alt="[ICO]"></th><th><a >> > href="?C=N;O=D">Name</a></th><th><a >> > href="?C=M;O=A">Last modified</a></th><th><a >> > href="?C=S;O=A">Size</a></th><th><a >> > href="?C=D;O=A">Description</a></th></tr><tr><th >> > colspan="5"><hr></th></tr> >> > <tr><td >> > valign="top"><img src="/icons/unknown.gif" alt="[ >> > ]"></td><td><a >> > href="Vagrantfile">Vagrantfile</a></td><td >> > align="right">18-Oct-2015 15:24 </td><td >> > align="right">3.1K</td><td> </td></tr> >> > <tr><td >> > valign="top"><img src="/icons/text.gif" >> > alt="[TXT]"></td><td><a >> > href="a.html">a.html</a></td><td >> > align="right">18-Oct-2015 15:02 </td><td align="right"> >> > 20 </td><td> </td></tr> >> > <tr><td >> > valign="top"><img src="/icons/text.gif" >> > alt="[TXT]"></td><td><a >> > href="bootstrap.sh">bootstrap.sh</a></td><td >> > align="right">18-Oct-2015 14:43 </td><td >> > align="right">138 >> > </td><td> </td></tr> >> > <tr><th colspan="5"><hr></th></tr> >> > </table> >> > >> > But, I cant see the index.html file at root sinced folder ¿why? >> > >> > I can't see it trough host file system and I can't see it trough guest >> > file >> > system neither. Ther is no index.html ¿Where is it? >> > >> > Thank you in advance. >> > >> > -- >> > 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/de749535-4877-4d1d-a274-760b5a77d258%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/6956b944-562b-4721-91e0-38b8d044504a%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/CAHqq0ezzd5PRWLJtN2MKGnMxhkiiQw5OYVtX60M6rd7OTKqHbw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
