how to install plugins in my mac

34 views
Skip to first unread message

federico montaldo

unread,
Nov 26, 2018, 3:54:51 PM11/26/18
to packe...@googlegroups.com
Hi Folks,

I want to know the way to install packer plugins. I got a template for
a window 10 vm there I need to run in my mac. Someone know the
procedure?.

Thanks in advance

Federico

Rickard von Essen

unread,
Nov 26, 2018, 4:01:11 PM11/26/18
to packe...@googlegroups.com
It is described here https://packer.io/docs/extending/plugins.html#installing-plugins

But why do you need to install plugins? Most plugins you need is included in the main distribution. 

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALDU2rzUB3hEny3KqCQn3Bgu31YA%2BJ%2BXEd1SBeCi95DDnv4bng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

federico montaldo

unread,
Nov 29, 2018, 2:25:24 PM11/29/18
to packe...@googlegroups.com
Hi,

Thanks for your repply. The wierd thing is the following:

2018/11/29 16:11:45 packer: 2018/11/29 16:11:45 [INFO] 0 bytes written
for 'stderr'

2018/11/29 16:11:45 ui error: ==> virtualbox-iso: Timeout waiting for
machine to restart.

==> virtualbox-iso: Timeout waiting for machine to restart.

==> virtualbox-iso: Step "StepProvision" failed

==> virtualbox-iso: [c] Clean up and exit, [a] abort without cleanup,
or [r] retry step (build may fail even if retry succeeds)? 2018/11/29
16:12:56 packer: 2018/11/29 16:12:56 [INFO] starting remote command:
powershell.exe -EncodedCommand
ZQBjAGgAbwAgACIAJAB7AGUAbgB2ADoAQwBPAE0AUABVAFQARQBSAE4AQQBNAEUAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgA=

2018/11/29 16:13:04 [INFO] 0 bytes written for 'stderr'

2018/11/29 16:13:04 [ERR] 'stderr' copy error: stream closed

2018/11/29 16:13:04 packer: 2018/11/29 16:13:04 [INFO] command
'powershell.exe -EncodedCommand
ZQBjAGgAbwAgACIAJAB7AGUAbgB2ADoAQwBPAE0AUABVAFQARQBSAE4AQQBNAEUAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgA='
exited with code: 0

2018/11/29 16:13:04 [INFO] 0 bytes written for 'stdout'

2018/11/29 16:13:04 [ERR] 'stdout' copy error: stream closed

2018/11/29 16:13:04 packer: 2018/11/29 16:13:04 [INFO] RPC endpoint:
Communicator ended with: 0

2018/11/29 16:13:04 [INFO] RPC client: Communicator ended with: 0

I already did that packer build on another mac there I got. Now they
gave me an old mac book pro. I made the same setting but now the build
fail every time. I include the json build. Should I change something.
Also this is the packer version:

ar-it05200:~ federico.montaldo$ packer version

Packer v1.3.2

ar-it05200:~ federico.montaldo$

Thanks in advance

Federico
> To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt854Sk%3D-Tvccr7FD%3D8wGZnnuQYQPj7FEBUkWc1Xp3POAA%40mail.gmail.com.
windows_10_choco.json

Rickard von Essen

unread,
Nov 30, 2018, 2:48:37 AM11/30/18
to packe...@googlegroups.com
Can you show the command you use to run and maybe run with PACKER_LOG=1 and post the full log.

federico montaldo

unread,
Nov 30, 2018, 10:26:29 AM11/30/18
to packe...@googlegroups.com
Hi,

I attach the full log.

Thanks in advance

Federico
On Fri, Nov 30, 2018 at 4:48 AM Rickard von Essen
> To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_UXrjTbmN_RGYbHcUacCTXSTXPa-NUdb6s2JngPTdoqg%40mail.gmail.com.
packerlog.txt

Rickard von Essen

unread,
Dec 3, 2018, 2:58:09 AM12/3/18
to packe...@googlegroups.com
The virtualbox seems to fail for some reason and You don't have Hyper-V nor VMware Fusion. Exerything seems like you cloud expect. Have you troubleshooted what happened with the virtualbox vm that times out?

Reply all
Reply to author
Forward
0 new messages