SQL Server requires use of DPAPI for the installation to work, by default a network logon like WinRM will not have access to the user's credentials to access its DPAPI store hence it failing. You need to run this with the "elevated_user" and "elevated_password" options which runs the process in a scheduled task with explicit credentials so it can access the DPAPI store. Another option is to call chocolatey with PsExec but you still need to specify the username/password for this to work.
Thanks Jordan -- 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/833d31a0-083a-4039-a0bf-6de81b3704c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
