sirn / freebsd-packer

Packer template for FreeBSD using mfsBSD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FreeBSD Packer Template

This repository provides a Packer template for building FreeBSD image with ZFS root. The repository is based on brd/packer-freebsd but use mfsBSD to bootstrap the installation over SSH instead of using boot command with FreeBSD ISO.

Usage

The resulting image is currently published at sirn/freebsd-13.0. You can init Vagrant environment with the image built from this repository with:

$ vagrant init sirn/freebsd-13.0

Or configure manually,

Vagrant.configure("2") do |config|
  config.vm.box = "sirn/freebsd-13.0"
  # Other configuration.
end

Building

Building

  1. Build the Vagrant box with packer build template.json.
  2. Add the Vagrant box with vagrant box add --name freebsd-13.0 freebsd-13.0-vmware.box.

The default Vagrantfile comes with NFS mount on /vagrant and 1GB of RAM with 20GB of disk.

About

Packer template for FreeBSD using mfsBSD


Languages

Language:Shell 77.1%Language:Ruby 22.9%