plugins/providers/hyperv/provider.rb in vagrant-unbundled-2.1.1.0 vs plugins/providers/hyperv/provider.rb in vagrant-unbundled-2.1.2.0

- old
+ new

@@ -10,14 +10,15 @@ module HyperV class Provider < Vagrant.plugin("2", :provider) attr_reader :driver def self.usable?(raise_error=false) - if !Vagrant::Util::Platform.windows? + if !Vagrant::Util::Platform.windows? && + !Vagrant::Util::Platform.wsl? raise Errors::WindowsRequired end - if !Vagrant::Util::Platform.windows_admin? and + if !Vagrant::Util::Platform.windows_admin? && !Vagrant::Util::Platform.windows_hyperv_admin? raise Errors::AdminRequired end if !Vagrant::Util::PowerShell.available?