I see.. Well, not sure if that is really a vagrant problem or a ubuntu problem
Do you have internet access on the guest? ping google.com curl -k -L http://google.com from the guest ifconfig -a route -n cat /etc/resolv.conf On Sun, May 31, 2015 at 11:47 PM, Mark Tan <[email protected]> wrote: > Hi, the picture is showing the problem it stuck at 0% working. I used the > sudo apt-get update like i show in the screenshot and i didn't tried the > apt-upgrade before ... but it still doesn't work. Thanks. > > On Sunday, May 31, 2015 at 6:53:22 PM UTC+8, Alvaro Miranda Aguilera wrote: >> >> Hello, >> >> Screenshot shows its working. can you share one of the one is not working? >> >> on a new provision, you should do this onlu >> >> sudo apt-get update >> sudo apt-get install -y <list of packages> >> >> you shouldn't use apt-upgrade or dist upgrade as those will update kernel >> and on next boot virtualbox guest additions will fail to load >> >> Alvaro >> >> On Sun, May 31, 2015 at 7:32 PM, Mark Tan <[email protected]> wrote: >> >>> >>> <https://lh3.googleusercontent.com/-TtkaJFiop38/VWq4261FmeI/AAAAAAAAAKw/bAp7xlUtcio/s1600/ssh.JPG> >>> Vagrant.configure(2) do |config| >>> config.vm.box = "hashicorp/precise32" >>> config.vm.network "forwarded_port", guest: 80, host: 1234 >>> config.vm.network "private_network", ip: "55.55.55.5" >>> >>> config.vm.synced_folder "../../../codes", "/var/www" >>> config.vm.synced_folder "../../../../../../../xampp/phpmyadmin", >>> "/var/www/phpmyadmin" >>> >>> config.vm.provider "virtualbox" do |vb| >>> vb.gui = true >>> end >>> end >>> >>> >>> I tried to halt it and reload ... still not working. Thanks. >>> >>> On Sunday, 31 May 2015 14:35:03 UTC+8, Alvaro Miranda Aguilera wrote: >>>> >>>> Hello, >>>> >>>> Can you share screenshots, Vagrantfile? >>>> >>>> When you say reboot the computer.. is that the host? >>>> >>>> Then on the VM you should do vagrant halt >>>> >>>> then after reboot you should do vagrant reload >>>> >>>> To reboot the vm, you should do vagrant reload >>>> >>>> Thanks, >>>> Alvaro. >>>> >>>> On Sun, May 31, 2015 at 6:24 PM, Mark Tan <[email protected]> wrote: >>>> > Hi, i facing a problem with using the Vagrant. After ssh into the >>>> virtual >>>> > machine, the sudo apt-get update works and i able to install all LAMP >>>> stacks >>>> > into it. >>>> > >>>> > But when i reboot the computer, the same thing will freeze at 0% >>>> [working]. >>>> > >>>> > Is that because of the already provisioning ? I tried the >>>> --no-provision, >>>> > but it still doesn't work. Hope can get some helps. Thanks. >>>> > >>>> > -- >>>> > 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. >>> >> >> -- > 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.
