building a custom FreeBSD image and in turn, several different machine types.

213 views
Skip to first unread message

Jev Björsell

unread,
Sep 17, 2014, 12:51:33 PM9/17/14
to packe...@googlegroups.com
Hello,

I'm new to packer, and I'm trying to find my bearings.

I want to build several different machine images (virtualbox, vagrant, ami, openstack, and a ISO installer image) based on a custom build of FreeBSD 10.

I have forked the FreeBSD 10 repo, which has my customization's.

My general direction is to make a packer template which will download the official FreeBSD 10 ISO, and then, using a shell provisioner, I will clone my custom FreeBSD git repo, and build world from that, producing a new base image.

Using my new base image, I will make a second packer template that will have all my required builders configured.

The reason I am considering a two step process is so that I only need to compile the FreeBSD source (make world) once during the first step. Does this make sense, or can I do this in a single step?

The vagrant website mentions building appliance images. I presume, the output will be an ISO for installation to the appliance hardware. Should I be looking at custom builders for this purpose?


Thank you,
-Jev


Alvaro Miranda Aguilera

unread,
Sep 17, 2014, 6:14:44 PM9/17/14
to packe...@googlegroups.com
It seems your going for the right path.

On the first part, build this updated/custom iso you required, then do the multiple images you need.

Alvaro.

--
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.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages