Hello, so you are running this locally on your windows machine.
Can you share the following output vagrant version vagrant plugin list vagrant status vagrant halt vagrant up VBoxManage list vms Thanks alvaro. On Tue, May 3, 2016 at 3:44 AM, Hui Zhao <[email protected]> wrote: > > Hi I am new to vagrant. Please see my vagrant setting up structure in >> Windows 7 machine. > > > > > > > <https://lh3.googleusercontent.com/-hQeo-pwaMT8/Vyd0i1wEMhI/AAAAAAAAAXo/q3dgJPgmUBYBkUi3gfB4TzSSHn6z3rdbgCLcB/s1600/4.PNG> > > > The bootstrap.sh is > > > #!/usr/bin/env bash > sudo -s <<EOF > yum makecache fast > yum update -y > cp /vagrant/consul /bin > firewall-cmd --zone=public --add-port=8300/tcp --permanent > firewall-cmd --zone=public --add-port=8500/tcp --permanent > firewall-cmd --reload > consul agent -dev -ui -bind "172.28.128.3" -client "172.28.128.3" > EOF > > The Vagrantfile is > Vagrant.configure(2) do |config| > config.vm.box = "puppetlabs/centos-7.0-64-puppet" > config.vm.network "private_network", ip: "172.28.128.3" > config.vm.provision :shell, path: "bootstrap.sh" > end > > Then I run the command "vagrant up" > But when I open the VirtualBox. The status is "Powered Off". > > > <https://lh3.googleusercontent.com/-TYH0GNRg4iw/Vyd13U3WtlI/AAAAAAAAAX0/MN8lcbY7JGYBh_VwMxmSl5IxtpzkidiagCLcB/s1600/5000.PNG> > > > Why? > > -- > 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/6463ed98-acaa-4424-a150-ad1c287e3fbb%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/6463ed98-acaa-4424-a150-ad1c287e3fbb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CAHqq0eze2r%2BR0oa8TRpX83oVTmMovYbiEXKOR8HL3Te2U4t9BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
