在windows_hyperv_admin中阻止尝试流浪者时出错
我正在为我的环境使用Vagrant,我有一个小问题如下所示.
kk@Lenovo MINGW64 ~/sravz/vm1 $vagrant up C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/util/platform.rb:85:in `block in windows_hyperv_admin?': undefined method `include?' for #<Vagrant::Util::Subprocess::Result:0x2634e88> (NoMethodError) from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/util/platform.rb:89:in `call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/util/platform.rb:89:in `windows_hyperv_admin?' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/hyperv/provider.rb:20:in `usable?' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/environment.rb:381:in `block in default_provider' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/environment.rb:379:in `each' 我用vagrant init初始化了我的项目,但由于某些原因,vagrant up拒绝工作. 解决方法
我有同样的问题,正如@FrédéricHenri所提到的,这与这个问题有关:
https://github.com/mitchellh/vagrant/issues/7465.
我只是按照其中一条评论中提出的建议,现在工作正常:)
您可以找到旧版本here.对于5.0.x.具体而言,here. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows-8 – 如何使用javascript取消Windows 8.1中的后台任
- windows-server-2003 – 服务帐户的最佳做法是什么?
- 从Windows窗体加载WPF窗口时出现问题System.ExecutionEngin
- 使用Windows容器而不是Linux容器的优点和缺点?
- 在windows上添加ssh到PATH,我该怎么写?
- 在Windows上固定处理器CPU隔离
- Windows批处理文件 – 拆分字符串以设置变量
- windowsformshost mouse event not transmit to it's p
- windows-server-2008 – 在批处理文件中查找星期几? (Wind
- windows-server-2003 – 在Amazon EC2上运行Windows域
- 如何在Windows上获取多个文件的所有权?
- windows-phone-8 – LongListMultiSelector将Che
- Windows_mysql_8.0.12_installed
- dll中的c-std :: unique_ptr pimpl生成C4251与vi
- 如何将受管.NET程序集从内存中保存为EXE / DLL文
- windows-xp – 物理到虚拟,无法重新激活窗口,因为
- 记录一次在windows上安装hadoop
- windows – 不允许具有管理权限的用户执行postgr
- Windows server 2008 R2 服务器系统安全防御加固
- windows – 查看布局rebol 3无法正常工作