And so does the WinRM communicator. If you want to provision a linux vm
you're going to need to use the SSH communicatior.

On Wed, Nov 28, 2018 at 9:35 AM Megan Marsh <[email protected]> wrote:

> You're absolutely right -- the Powershell provisioner assumes you're on
> windows.
>
> On Tue, Nov 27, 2018 at 2:14 PM Dan W <[email protected]> wrote:
>
>> I also tried running PACKER_LOG=1 and the system just freezes at this step
>>
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 TempComputeName=
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 TempResourceGroupName=
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 BuildResourceGroupName=***
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 CloudEnvironmentName=Public
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 VirtualNetworkName=
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 VirtualNetworkSubnetName=
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21
>> VirtualNetworkResourceGroupName=
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 CustomDataFile=
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 OSType=Windows
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21 UserName=***
>> 2018/11/27 22:08:21 ***: 2018/11/27 22:08:21
>> Password=********************************
>> azure-arm: Creating Azure Resource Manager (ARM) client ...
>> 2018/11/27 22:08:22 ***: 2018/11/27 22:08:22 Azure request method="GET"
>> request="
>> https://management.azure.com/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/images?api-version=2017-
>>
>> On Tuesday, 27 November 2018 16:11:32 UTC-5, Dan W wrote:
>>>
>>> Hello, I am currently using an automated pipeline to deploy Virtual
>>> Machines using Packer, Terraform and Ansible.
>>>
>>> Details
>>>
>>>    - Linux VMs as build agents
>>>    - Powershell Core 6.1.1
>>>    - WinRM into Windows Machines using the Packer communicator
>>>
>>>
>>> I have not had any success yet, I am using the Azure-Arm builder, so i
>>> will try a local builder as a workaround.
>>>
>>> Is this possibly a communicator problem where Packer expects Powershell
>>> to be on a Windows Operating System? I know the WinRM implementation uses
>>> https://github.com/masterzen/winrm
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks
>>> Dan
>>>
>>>
>>>
>>>
>>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/packer-tool/d6a05267-3fc8-4a7a-a197-fced47342cd2%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/d6a05267-3fc8-4a7a-a197-fced47342cd2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAGPV1uqbx%2Bwh_byrG8NoRDiFXCiDN%2BgDxPmDj8-5xmsOhkc7zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to