<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] <javascript:>>
> 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] <javascript:>.
> > 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.