I am trying to build Windows custom image using Google compute instance
using packer. The build exits with following error:
==> googlecompute: Provisioning with powershell script:
/tmp/powershell-provisioner2323994912
googlecompute: Downloading Qualys Windows Agent
==> googlecompute: C:\packertemp\qualys.ps1 :
System.InvalidOperationException: This command cannot be run due to the
error: The file or
==> googlecompute: directory is corrupted and unreadable.
==> googlecompute: at
System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord
errorRecord)
==> googlecompute: At
C:\Windows\Temp\script-6400b624-a2a1-b240-5cfc-d2032ae6f885.ps1:1 char:1
==> googlecompute: + c:\packertemp\qualys.ps1
==> googlecompute: + ~~~~~~~~~~~~~~~~~~~~~~~~
==> googlecompute: + CategoryInfo : NotSpecified: (:)
[Write-Error], WriteErrorException
==> googlecompute: + FullyQualifiedErrorId :
Microsoft.PowerShell.Commands.WriteErrorException,qualys.ps1
--
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/hashicorp/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/179e9cd5-1e2a-40bb-a11e-4f5a43bdbaa6n%40googlegroups.com.