Just to say, I also tried to execute the two commands given at the end of this page : https://docs.vagrantup.com/v2/vagrantfile/winrm_settings.html It did not help either...
Le jeudi 5 février 2015 15:34:41 UTC+1, Guilhem Brouat a écrit : > > Hello there ! > > I have been struggling with this for hours now: I cannot get a working > Windows guest with Vagrant 1.7.2 and Virtualbox 4.3.4. > Here is my Vagrantfile : > > Vagrant.configure(2) do |config| > > config.vm.box = "vagrant-win7-ie8" > config.vm.box_url = "http://aka.ms/vagrant-win7-ie8" > config.vm.guest = :windows > config.vm.communicator = "winrm" > > config.winrm.username = "IEUser" > config.winrm.password = "Passw0rd!" > > config.vm.boot_timeout = 600 > > config.vm.network :forwarded_port, guest: 5985, host: 5985, id: > "winrm", auto_correct: true > > config.vm.provider "virtualbox" do |vb| > # Display the VirtualBox GUI when booting the machine > vb.gui = true > > vb.customize [ "modifyvm", :id, "--hwvirtex", "off" ] > > # Customize the amount of memory on the VM: > vb.cpus = 1 > vb.memory = 1024 > end > > if Vagrant.has_plugin?("vagrant-proxyconf") > if ENV["http_proxy"] > config.proxy.http = ENV["http_proxy"] > end > if ENV["https_proxy"] > config.proxy.https = ENV["https_proxy"] > end > > config.proxy.no_proxy = "localhost,127.0.0.1" > end > > end > > When I execute vagrant up the guest starts correctly and I end up on the > desktop (since I set vb.gui to true). But vagrant still tells me "Waiting > for machine to boot" and after a few minutes, it fails with timeout... > > > I tried to perform actions described here : > https://gist.github.com/uchagani/48d25871e7f306f1f8af > Following these actions I tried to replace config.winrm.username and > config.winrm.password with "vagrant". > > Nothing works! > > By the way, a Linux box works perfectly well on the same host. > > Is there someone here who would be able to explain me, step by step, how > to get this working? > > Thanks in advance. > > > -- 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.
