Hello Vagrant Community,

First let me say thanks for Vagrant - it's serving nicely for a testing 
need I have.  Now I'm struggling to vagrant up a Windows 2012 R2 guest on 
an OS X Yosemite host with VirtualBox 5.0.2 provider, and I'd appreciate 
any assistance anyone might be able to provide.  My Vagrant version is 
1.7.4, and here is my Vagrantfile:

# -*- mode: ruby -*-

# vi: set ft=ruby :


Vagrant.configure(2) do |config|

  config.vm.box = "sqlserver2014"

  config.vm.network "private_network", ip: "192.168.56.200"

  config.vm.network :public_network, :bridge => 'en1: Wi-Fi (AirPort)'

  config.vm.communicator = "winrm"

  config.winrm.host = "192.168.56.200"

  config.winrm.username = "Administrator"

  config.winrm.password = "password"

  config.vm.provider "virtualbox" do |vb|

    vb.gui = true

  end

end

The WinRM communicator is working, but vagrant hangs.  Here is the output 
of vagrant up:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
    default: Adapter 3: bridged
==> default: Forwarding ports...
    default: 5985 => 55985 (adapter 1)
    default: 5986 => 55986 (adapter 1)
==> default: Booting VM...
    default: WinRM address: 192.168.56.200:5985
==> default: Waiting for machine to boot. This may take a few minutes...
    default: WinRM username: Administrator
    default: WinRM transport: plaintext
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...

After that last line of output, vagrant hangs and never returns control to 
the shell.  Here's the last bit with VAGRANT_LOG=info:

==> default: Configuring and enabling network interfaces...
 INFO winrm: Checking whether WinRM is ready...
 INFO winrmshell: Attempting to connect to WinRM...
 INFO winrmshell:   - Host: 192.168.56.200
 INFO winrmshell:   - Port: 5985
 INFO winrmshell:   - Username: Administrator
 INFO winrmshell:   - Transport: plaintext
 INFO winrm: WinRM is ready!
 INFO guest: Autodetecting host type for [#<Vagrant::Machine: default 
(VagrantPlugins::ProviderVirtualBox::Provider)>]
 WARN winrmshell: Detected ParserError, setting exit code to 1
 INFO guest: Detected: windows!
 INFO guest: Execute capability: configure_networks [#<Vagrant::Machine: 
default (VagrantPlugins::ProviderVirtualBox::Provider)>, [{:type=>:static, 
:adapter_ip=>"192.168.56.1", :ip=>"192.168.56.200", 
:netmask=>"255.255.255.0", :auto_config=>true, :interface=>1}, 
{:type=>:dhcp, :use_dhcp_assigned_default_route=>false, :auto_config=>true, 
:interface=>2}]] (windows)
 INFO provider: Execute capability: nic_mac_addresses [#<Vagrant::Machine: 
default (VagrantPlugins::ProviderVirtualBox::Provider)>] (virtualbox)
 INFO subprocess: Starting process: ["/usr/local/bin/VBoxManage", 
"showvminfo", "20f524ac-87ed-46a1-8c3f-22ea843314d1", "--machinereadable"]
 INFO subprocess: Command not in installer, restoring original 
environment...
 INFO guestnetwork: Configuring NIC Ethernet 2 using static ip 
192.168.56.200

I would appreciate any advice anyone can give me on how to further diagnose 
and hopefully correct this problem.  Thanks in advance!

Cheers,
Randy

-- 
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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/8aba23fb-5a91-4461-9bc6-bd3790bad744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to