Giter Club home page Giter Club logo

bentobox's Introduction

bento box bentobox

A convenience layer for building bento-based Vagrant boxes

Usage

Basically you have two options:

local ISO

Put the appropriate ISO in ${ISO_DIR} and run:

BENTO_BOX_VERSION="9.4" bash build.sh

or:

BENTO_BOX_TYPE="centos" BENTO_BOX_VERSION="7.3" BENTO_BOX_ARCH="x86_64" bash build.sh

(this is useful for i.e. offline builds and/or not relying on packer's cache)

remote ISO

Or just run the following, which will download the appropriate ISO automatically:

PACKER_OPTIONS="-only=parallels-iso" BENTO_BOX_VERSION="9.4" bash build.sh

or:

PACKER_OPTIONS="-only=parallels-iso" BENTO_BOX_TYPE="centos" BENTO_BOX_VERSION="7.3" BENTO_BOX_ARCH="x86_64" bash build.sh

Configuration

The following configuration options exist and can be changed by injecting them via the shell:

option default
BENTO_BOX_ARCH amd64
BENTO_BOX_NAME ${BENTO_BOX_PROVIDER}/${BENTO_BOX_TYPE}-${BENTO_BOX_VERSION}
BENTO_BOX_PROVIDER parallels
BENTO_BOX_TYPE debian
BENTO_BOX_VERSION 9.8
BENTO_DIR ${HOME}/development/git/github/bento
BENTO_REPO https://github.com/pari-/bento
BENTO_REPO_BRANCH local_mods
ISO_DIR ${HOME}/isos
PACKER_DIR ${HOME}/Downloads/packer
PACKER_DOWNLOAD_URL https://releases.hashicorp.com/packer/${PACKER_VERSION}/${PACKER_DOWNLOAD_FILE}
PACKER_DOWNLOAD_FILE packer_${PACKER_VERSION}_darwin_amd64.zip
PACKER_VERSION 1.4.0
PACKER_OPTIONS -var mirror=${ISO_DIR}/ -var mirror_directory= -only="{BENTO_BOX_PROVIDER}-iso
VAGRANT_BOX_DIR ${HOME}/config/vagrant_boxes

License

MIT

Artwork

bentobox's People

Contributors

pari- avatar

Watchers

 avatar  avatar

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.