Why is Vagrant trying to SSH to Windows guest?

前端 未结 2 1556
独厮守ぢ
独厮守ぢ 2021-02-07 10:19

My host is running Windows 7 Pro (64 bit). The Guest OS in this case is Windows Server 2008 R2. The \'vagrant up\' command is running into an issue where I keep getting:

相关标签:
2条回答
  • 2021-02-07 10:48

    I experienced the issue in Windows 7. At last we found out that this problem is due to the Linux OS that we are using with Vagrant version is not compatible. So, we took the latest version (i.e. v1.6.3) of Vagrant and updated our OS to point to agent.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-i386-v20131103.box"

    Vagrant version 4.3.8 was not working with the below OS. agent.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130731.box".

    I hope this helps to resolve the issue.

    0 讨论(0)
  • 2021-02-07 10:53

    You need to use

       config.vm.communicator = "winrm"
    

    In your vagrant file. Take a look at this feature preview

    0 讨论(0)
提交回复
热议问题