Coder Social home page Coder Social logo

szaydel / omnios-packer Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 28 KB

Vagrant Packer Templates for building OmniOS boxes

Shell 100.00%
vagrant vagrant-boxes vagrant-template vagrantfiles packer packer-template packer-scripts omnios omniosce illumos

omnios-packer's Introduction

OmniOS Packer Templates

Creates a vagrant base box for OmniOS.

How to Build

Run using packer build templates/<release>.json from the omnios-packer directory (necessary so that the relative paths for post-install scripts will be valid).

Templates

The templates/ subdirectory contains individual JSON templates for every OmniOS release. When building a base box for a new OmniOS release, you should copy the latest template to a new file, named for the release you are adding.

Do not simply change an existing template in-place, as doing so will make it more cumbersome to rebuild a previous release's basebox in the event we need to do so for any reason (critical fixes to a previously published basebox).

Notes

  • A single ZFS pool (rpool) is created for the entire disk
  • The omniti-ms publisher is added by default
  • The VM is set to have 1024MB of RAM and a 40GB drive

VMWare

There is a known issue with Caiman (the text based installer used by OmniOS from ISO media) and VMWare Fusion. The installer will fail if there is no rdiskette0 device present in the virtual machine. To workaround this problem, the Builder configuration for VMWare boxes includes the "floppy_files" setting, which references this file, causing Fusion to attach a floppy device to the VM before booting. We don't actually care what the contents of the device are, it simply has to be present.

Internal OmniTI Baseboxes

In addition to the templates for baseboxes intended for public consumption, this repository contains templates for largely internal-only use baseboxes. These exist as separate templates because some of our internal projects have additional configuration requirements that aren't appropriate or useful for public users of OmniOS (e.g. data pools, slightly higher default memory allocations, etc.).

These templates may not be updated for every release of OmniOS, as they are typically only built on an as-needed basis.

They are located in the appropriate templates/<project>/ subdirectories.

Notes

In addition to the configurations used by the default/public templates, the project specific templates generally provide the following extras:

  • Additional virtual disk attached to VM
  • A second ZFS pool (data) created using entire disk
  • VM memory increased to 2048MB
  • The omniti-perl publisher is added by default

Post-install Scripts

The scripts/ subdirectory contains additional scripts which are used by some of the templates for post-install configuration. They are not tied to specific OmniOS releases and are each used by several templates, as they contain common configuration functionality.

omnios-packer's People

Contributors

jsime avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

dotdc

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.