Is it possible to create a dual boot system with packer?

24 views
Skip to first unread message

Dominique Roux

unread,
Aug 30, 2016, 3:28:27 AM8/30/16
to Packer
Hey guys!

I'm interested in creating a dualboot system with packer.
Currently I use a virtualbox-iso builder then install centos with a kickstart file.
Is it possible to insert a new builder right before post-processors? So I would be able to start a new installation with another kickstart file.

Otherwise I'll have to build a small bash wrapper around packer which creates a virtualbox image, then starts packer again with the exported image as the source.

Thanks for your wisdom and opinions

Kind regards,

Dominique

Alvaro Miranda Aguilera

unread,
Aug 30, 2016, 3:41:33 AM8/30/16
to packe...@googlegroups.com
Hello

Have a look at Virtualbox-ovf

I would suggest let the first install as is, then using virtualbox-ovf you can start a new installation using the previous box.

I haven't done it, but seems doable

Alvaro

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/248e7186-6bd0-4ceb-9de1-cc54f1371105%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Dominique Roux

unread,
Aug 30, 2016, 3:58:57 AM8/30/16
to Packer
Is it possible in the same .json or should I create a new one?


Am Dienstag, 30. August 2016 09:41:33 UTC+2 schrieb Alvaro Miranda Aguilera:
Hello

Have a look at Virtualbox-ovf

I would suggest let the first install as is, then using virtualbox-ovf you can start a new installation using the previous box.

I haven't done it, but seems doable

Alvaro
On Tue, Aug 30, 2016 at 9:28 AM, Dominique Roux <dominiq...@gmail.com> wrote:
Hey guys!

I'm interested in creating a dualboot system with packer.
Currently I use a virtualbox-iso builder then install centos with a kickstart file.
Is it possible to insert a new builder right before post-processors? So I would be able to start a new installation with another kickstart file.

Otherwise I'll have to build a small bash wrapper around packer which creates a virtualbox image, then starts packer again with the exported image as the source.

Thanks for your wisdom and opinions

Kind regards,

Dominique

--
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.



--

Alvaro Miranda Aguilera

unread,
Aug 30, 2016, 4:05:12 PM8/30/16
to packe...@googlegroups.com
You can have multiple builder blocks but the goal is to end with the same VM so the same provisioning scripts will be run, and packer will try to run them in parallel.

Doable, but i think separate json will make all more simple

Alvaro.

To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/18024d06-0024-4368-b6d1-ad9a3150ccb7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
Message has been deleted
0 new messages