can i run packer from packer itself

20 views
Skip to first unread message

Parag Gupta

unread,
Jun 17, 2019, 1:59:33 AM6/17/19
to Packer
We need to create VM images using packer . Our Jenkins slave are docker images so installing virtual box on docker and creating VM images on a docker would be complex .
So what we are thinking is to run packer command on docker slave machine . Command will run packer on other machine which will create virtual image .

so Can i fire packer command in such a way that it will fore packer command on other machine ? 



Tek Chand

unread,
Jun 17, 2019, 2:59:51 AM6/17/19
to packe...@googlegroups.com
Hello Parag,

You can't create the virtualbox image if you don't have virtualbox on same machine where you will fire the command. Because it will create VM in virtualbox after that it create image.

--
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/af25bb89-5b68-4656-9fc6-378db3c7c25e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This message and its contents are confidential. If you received this message in error, do not use or rely upon it. Instead, please inform the sender and then delete it. Thank you.

Alvaro Miranda Aguilera

unread,
Jun 17, 2019, 1:56:19 PM6/17/19
to packe...@googlegroups.com
have you tested this ?

does work?


--
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/af25bb89-5b68-4656-9fc6-378db3c7c25e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Salty Vagrant

unread,
Jun 17, 2019, 2:00:49 PM6/17/19
to Packer

Surely the simplest thing would be to use ssh from the Docker slave to run the packer command on the machine with virtualbox and packer installed? Or am I missing something?

Reply all
Reply to author
Forward
0 new messages