Project

General

Profile

Feature #7244

Publish pfsense as a Vagrant Basebox

Added by Joel Whitehouse over 2 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Developer Tools
Target version:
Start date:
02/10/2017
Due date:
% Done:

0%

Estimated time:
24.00 h

Description

Hello pfsense!

The pfsense project should make it easy to provision pfsense by publishing an official pfsense vagrant box. Users could then start up a new pfsense vm with just a couple of console commands.

Normally, the process of evaluating pfsense in a VM involves loading an ISO and going through the installation process. While this process is more convenient in virtual hardware, it would be better if users could skip the OS install process and get straight to using pfsense. This is where vagrant [0] comes in; vagrant allows developers to boot a pre-packaged VM with a pre-installed operating system and default configuration.

Some projects already publish vagrant images: FreeBSD has published vagrant base boxes for their releases [1]; it wouldn't take much effort for pfsense to follow in their footsteps.

Allowing developers to provision a pfsense appliance instance with just a few console commands would make it easier to evaluate pfsense's browser UI, test new pfsense configs before deploying them, and possibly, even test pfsense itself. I hope the pfsense project will consider publishing a vagrant base box!

More information on packaging an OS installation for vagrant can be found here [2].

[0] https://vagrantup.com
[1] https://atlas.hashicorp.com/FreeBSD/
[2] https://www.vagrantup.com/docs/boxes/base.html

History

#1 Updated by Mikael Lepistö 9 months ago

I'm looking into implementing this one, because I need an easy way to launch pfsense instances for running automatic tests for our internal patches on top of latest pfSense versions. If anyone has any pointers in which repo and how to implement this I would appreciate it a lot. Meanwhile I'll be extracting that information from development documentation.

Maybe this one is enough for my use https://github.com/pfsense/pfsense/blob/master/BOOTSTRAP.md , but it would be nice to have official stable vagrant images too.

Also available in: Atom PDF