Closed oknoproblem closed 10 years ago
may be i'm asking in wrong place? may be i can get answer faster in other place?
found solution, in my VagrantFile there wrong config.winrm.host = "192.168.33.33" this shoult be host IP address, but i used guest IP, thats why while executing netsh command "vagrant up" silently hungs. Reason is that netsh command resets network interface and vagrant can not get result of netsh comand.
Vagrant version: 1.4.0 vagrant-windows version: 1.5.1
Vagrant file: VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "win7.x86.v.004" config.vm.box_url = "http://10.1.138.103/win7.x86.v.004.box" config.vm.boot_timeout = 300 config.vm.provider :virtualbox do |vb| vb.gui = true end config.windows.halt_timeout = 15 config.winrm.username = "vagrant" config.winrm.password = "vagrant"
config.winrm.max_tries = 10
end
i'm using selfcreated Win7 enterprise SP1 box
vagrant up hangs on configuring network adapter, debug logs here: DEBUG configure_networks: vm_interface_map: {1=>{:net_connection_id=>"Local Area Connection", :mac_address=>"08002753776B", :interface_index=>"11", :index=>"7"} , 2=>{:net_connection_id=>"Local Area Connection 2", :mac_address=>"080027F5E843 ", :interface_index=>"14", :index=>"12"}} INFO winrmshell: Configuring NIC Local Area Connection 2 using static ip 192.16 8.33.33 DEBUG winrmshell: powershell executing: netsh interface ip set address "Local Area Connection 2" static 192.168.33.33 25 5.255.255.0
after "netsh" command execution hangs.
Any workaround of how i can resolve this?