I tried using VirtualBox without Hyper-V installed. It didn't work with the Vagrantfile and there was some output that stated that Hyper-V needs to be installed. That's what prompted me to install Hyper-V. Really what I wanted to accomplish is do a vagrant up without modifying the Vagrantfile. Is there some way to specify to use virtualbox instead of Hyper-V?
Thank you for your reply. I'll try with "hashicorp/precise64" as well. On Mon, May 19, 2014 at 9:30 PM, Mitchell Hashimoto < [email protected]> wrote: > The URL for the box you specified is only for VirtualBox. If you want > a Hyper-V box, use "hashicorp/precise64" > > On Mon, May 19, 2014 at 8:46 PM, Eric Sepich <[email protected]> > wrote: > > My OS is Windows 8.1. I have attached my Vagrantfile. I am getting some > > messaging about the provider coming out of the console: > > > > Provider expected: hyperv > > Provider of box: virtualbox > > PS C:\Users\Eric\ZF2-Vagrant> git submodule update --init --recursive > > PS C:\Users\Eric\ZF2-Vagrant> vagrant up > > Bringing machine 'default' up with 'hyperv' provider... > > ==> default: Verifying Hyper-V is enabled... > > ==> default: Box 'ubuntu-12.04' could not be found. Attempting to find > and > > install... > > default: Box Provider: hyperv > > default: Box Version: >= 0 > > ==> default: Adding box 'ubuntu-12.04' (v0) for provider: hyperv > > default: Downloading: http://files.vagrantup.com/precise64.box > > default: Progress: 100% (Rate: 3551k/s, Estimated time remaining: > > --:--:--) > > The box you attempted to add doesn't match the provider you specified. > > > > Provider expected: hyperv > > Provider of box: virtualbox > > aPS C:\Users\Eric\ZF2-Vagrant> > > > > What is this message about? > > > > Thank you... > > > > Vagrantfile: > > Vagrant.configure("2") do |config| > > config.vm.synced_folder "~/source-api", "/var/source-api" > > config.vm.synced_folder "~/source-client", "/var/source-client" > > > > config.vm.box = "ubuntu-12.04" > > config.vm.box_url = "http://files.vagrantup.com/precise64.box" > > config.vm.network :private_network, ip: "192.168.56.2" > > config.vm.provider :virtualbox do |vb| > > vb.customize ["modifyvm", :id, "--memory", "1024"] > > end > > > > config.vm.provision :chef_solo do |chef| > > chef.cookbooks_path = "./cookbooks" > > > > chef.add_recipe "apt" > > chef.add_recipe "custom::dotdeb" > > chef.add_recipe "mysql::server" > > chef.add_recipe "nginx" > > chef.add_recipe "php" > > chef.add_recipe "php-fpm" > > chef.add_recipe "custom::fpm-config" > > chef.add_recipe "php::module_curl" > > chef.add_recipe "php::module_gd" > > chef.add_recipe "php::module_mysql" > > chef.add_recipe "postfix" > > chef.add_recipe "custom::db" > > chef.add_recipe "custom::hosts" > > chef.add_recipe "custom::vhosts" > > chef.add_recipe "custom::mysql_permissions" > > chef.add_recipe "custom::restart_services" > > > > chef.json = { > > :mysql => { > > :server_root_password => "root", > > :server_repl_password => "repl", > > :server_debian_password => "debian", > > :bind_address => '0.0.0.0' > > }, > > :nginx => { > > :default_site_enabled => false > > }, > > :php => { > > :directives => { > > 'pdo_mysql.default_socket' => '/var/run/mysqld/mysqld.sock', > > 'mysql.default_socket' => '/var/run/mysqld/mysqld.sock', > > 'mysqli.default_socket' => '/var/run/mysqld/mysqld.sock', > > 'date.timezone' => 'Europe/London' > > } > > } > > } > > end > > end > > > > > > > > > > > > > > -- > > 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 a topic in the > Google Groups "Vagrant" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vagrant-up/IPRUebdn-Lw/unsubscribe. > To unsubscribe from this group and all its topics, 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.
