Help regarding virtualbox-iso

14 views
Skip to first unread message

Shashank

unread,
Jun 13, 2019, 3:31:47 AM6/13/19
to Packer
Hey guys,
I am a newbie for the virtualbox-iso builder of the packer. I am having the below scenario:

I want to run my packer template from machine 1(which is not having any Virtual Box), and my Virtual Box is on machine 2. Is it possible to build an image under this scenario? 

I used amazon-ebs and azure-arm. In those builders, I can easily build images as images are built on AWS or Azure and I don't need to configure anything apart from credentials on machine 1(machine that is used for running packer.)

Thanks,
Shashank Agarwal

Rickard von Essen

unread,
Jun 13, 2019, 3:57:03 AM6/13/19
to packe...@googlegroups.com
For VirtualBox Packer need to run a machine where VirtualBox is installed and it will use this to spin up a VM, run provisioning on it and then create an image (OVA/OVF) from that.

--
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/3aef3774-12a4-4c7c-849c-e24e0bd77622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shashank

unread,
Jun 13, 2019, 7:01:04 AM6/13/19
to Packer
Hi Rickard,
Thanks for replying. Actually, I want to know whether it will be possible that my packer resides on a machine and Virtual Box that packer uses resides on other machine?


On Thursday, June 13, 2019 at 1:27:03 PM UTC+5:30, Rickard von Essen wrote:
For VirtualBox Packer need to run a machine where VirtualBox is installed and it will use this to spin up a VM, run provisioning on it and then create an image (OVA/OVF) from that.

On Thu, Jun 13, 2019 at 9:31 AM Shashank <shas...@gmail.com> wrote:
Hey guys,
I am a newbie for the virtualbox-iso builder of the packer. I am having the below scenario:

I want to run my packer template from machine 1(which is not having any Virtual Box), and my Virtual Box is on machine 2. Is it possible to build an image under this scenario? 

I used amazon-ebs and azure-arm. In those builders, I can easily build images as images are built on AWS or Azure and I don't need to configure anything apart from credentials on machine 1(machine that is used for running packer.)

Thanks,
Shashank Agarwal

--
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 packe...@googlegroups.com.

Rickard von Essen

unread,
Jun 13, 2019, 9:16:13 AM6/13/19
to packe...@googlegroups.com
No

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/fff33ae7-eb52-4a47-9ca8-aeb62e8b3907%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages