Open sesameguy opened 2 years ago
I found the problem is caused by powershell core
I tried the command vagrant up
in window powershell
& it has no problem
Would vagrant
support powershell core
in the future version?
Looking into the ruby code that assembles the powershell command lines (... plugins/lib/vagrant/util/powershell.rb), to me the problem is located there. They assemble PATH variables with the hardcoded path delimiter ";" (Semicolon), but on POSIX-like systems like Linux or MacOS the path separator is ":" (Colon). I think the Powershell related code needs a general review for these kind of effects.
Hi, i'm a newbie of vagrant. I've installed the
latest version(v2.2.19)
& enabledHyper-V
, but the below error message is shown when runvagrant up
I've tried to run
$env:PSModulePath=$env:PSModulePath+';C:\HashiCorp\Vagrant\embedded\gems\2.2.19\gems\vagrant-2.2.19\plugins\providers\hyperv\scripts\utils'; &('C:\HashiCorp\Vagrant\embedded\gems\2.2.19\gems\vagrant-2.2.19\plugins\providers\hyperv\scripts\check_hyperv.ps1')
only inpowershell
& it's no problem so i think the problem is caused byvagrant up