Giter Club home page Giter Club logo

rancheros-box's Introduction

RancherOS Box

RancherOS. A simplified Linux distribution built from containers, for containers.

  • RancherOS Vagrant Box
  • Python included for Ansible
  • Alpine as default console
  • Bash as deafult shell
  • without VirtualBox Guest Additions

The RancherOS Vagrant Box should be easy to keep up to date with new RancherOS releases. If you do not see the latest release on Vagrant Cloud, just build your own by following the steps below.

The default SSH Key has been set up for vagrant ssh to allow customizing via the the shell script provisioner.

This box does not include VirtualBox Guest Additions. The initial Vagrant box by RancherOS included a plugin which is used here: vagrant_rancheros_guest_plugin.rb. The box works fine without this plugin, thus I did not activate it. Additionally the vagrant-alpine guest plugin might be helpful, when using the Alpine console, but is not required: vagrant plugin install vagrant-alpine. (Neither of these plugins currently work to enable setting config.vm.hostname or config.vm.network on RancherOS).

How to build

git clone https://github.com/chriswayg/rancheros-box.git
cd rancheros-box
  • Customize RancherOS-common with your Vagrant Cloud box name and token and adapt the RancherOS description as needed.
  • Create a new box on Vagrant Cloud and choose the box name as set in RancherOS-common
  • Possibly create a new file such as RancherOS-1.4.0 with the latest version number and md5 hash based on info from:
  • Launch the build script with the applicable version number:
./build.sh 1.3.0

Local test build

If you put a non-existant Vagrant Cloud box name (for example vagrantcloud_box_name="LOCAL") in RancherOS-common the build will intentionally fail on the post-processor. If it didn't, it would push every build up to Vagrant Cloud, probably not what is desired when the template is being developed, updated, and/or tested. In spite of the error message, it will still successfully create a box you can test locally. For example:

vagrant box add --name "RancherOS_1.3.0-local" RancherOS_1.3.0.box
mkdir -p test && cd test
vagrant init RancherOS_1.3.0-local
vagrant up

Build environment

packer version && vagrant -v && vboxmanage --version

	Packer v1.2.3
	Vagrant 2.0.4
	5.2.12r122591

License:

  • MIT
  • Authors/Contributors: Matthew Hartstonge, M.A. Alfarra, Christian Wagner

rancheros-box's People

Contributors

chriswayg avatar matthewhartstonge avatar

Watchers

 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.