Merge pull request #622 from devopscircle-io/solve-remotesigned-with-setexecutionpolicy

Set the execution policy in Packer to RemoteSigned
This commit is contained in:
Alejandro Pauly
2020-04-01 12:43:04 -04:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -238,7 +238,8 @@
"type": "powershell", "type": "powershell",
"scripts":[ "scripts":[
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1" "{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
] ],
"execution_policy": "remotesigned"
}, },
{ {
"type": "windows-restart", "type": "windows-restart",

View File

@@ -219,7 +219,8 @@
"type": "powershell", "type": "powershell",
"scripts":[ "scripts":[
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1" "{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
] ],
"execution_policy": "remotesigned"
}, },
{ {
"type": "windows-restart", "type": "windows-restart",