Skip to content

Commit

Permalink
v1.0.8: bugfix, set client to allow unencrypted traffic for PSSession…
Browse files Browse the repository at this point in the history
… creation.
  • Loading branch information
jagorjat committed Feb 2, 2015
1 parent dd2588c commit 9359822
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/vagrant-vmm/scripts/sync_folders.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function Get-session {
{
$auth_method = "basic"
}
set-item -force WSMan:\localhost\Client\AllowUnencrypted $true -ErrorAction Ignore
$session = New-PSSession -ComputerName $vm_address -Credential $creds_to_vm -Authentication $auth_method
$script:session = $session
}
Expand Down
4 changes: 2 additions & 2 deletions lib/vagrant-vmm/scripts/utils/vmm_executor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ $Dir = Split-Path $script:MyInvocation.MyCommand.Path
# execute script block for VMM
function execute($block, $vmm_server_address, $proxy_server_address)
{
$vmm_credential = Get-Creds $vmm_server_address "Credentials for VMM server: $vmm_server_address"
$proxy_credential = $null

if ($proxy_server_address -ne $null )
{
$proxy_credential = Get-Creds $proxy_server_address "Credentials for proxy server: $proxy_server_address"
}
$vmm_credential = Get-Creds $vmm_server_address "Credentials for VMM server: $vmm_server_address"

#
$init_vmm_block = {
try {
Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant-vmm/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module VagrantPlugins
module VMM
VERSION = "1.0.7"
VERSION = "1.0.8"
end
end

0 comments on commit 9359822

Please sign in to comment.