GithubHelp home page GithubHelp logo

stblassitude / packer-freebsd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uchida/packer-freebsd

3.0 3.0 1.0 65 KB

Packer template for building FreeBSD 10 and 11 Vagrant boxes

Home Page: https://atlas.hashicorp.com/stblassitude/

License: Creative Commons Zero v1.0 Universal

Shell 94.26% Ruby 5.74%
freebsd packer-template vagrant-boxes

packer-freebsd's Introduction

packer-freebsd

Version License CircleCI

packer template to build FreeBSD (with zfsroot) images, based on the work by uchida/packer-freebsd.

Vagrant images are available at

vagrant init stblassitude/freebsd-11; vagrant up

I'm running the build regularly (every couple of weeks to once a month). To use the most recent image, update your local cache before you vagrant up a new box.

vagrant box update stblassitude/freebsd-11

To check which version your Vagrant box is based on, you can look at /root/vagrantbox-version, which contains the URL and version number of the box vagrant up was run with.

Building Images

To build images, simply run:

$ git clone https://github.com/stblassitude/packer-freebsd
$ cd packer-freebsd
$ ./build.sh

While the template and the build script support VirtualBox, VMware, and QEMU/KVM, I'm currently only building VirtualBox images. If you'd like me to build the others as well, drop me a line.

License

[CC0] (http://creativecommons.org/publicdomain/zero/1.0/deed)

dedicated to public domain, no rights reserved.

packer-freebsd's People

Contributors

stblassitude avatar uchida avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

network-shark

packer-freebsd's Issues

Image files are larger than necessary

It appears the image files do not shrink properly in the cleanup.sh and zerodisk.sh scripts. Although the complete box needs about 400 to 500 MB, the image file is up to 750 MB large.

This might be due to VirtualBox not supporting TRIM properly; it seems this has to be told to VirtualBox when creating the initial image.

VMWare images

Hey, can you reenable the VMWare builds ? I couldn't find a freebsd12 with zfsroot on vagrant cloud. Thank You !

Enable UEFI boot for FreeBSD 11

UEFI boot is significantly faster than BIOS boot: in a quick test, it's 12 seconds for BIOS vs. 3 seconds for UEFI until the kernel starts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.