GithubHelp home page GithubHelp logo

kitaev / vagrant-box Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kraksoft/vagrant-box

0.0 2.0 0.0 437 KB

Create your own Vagrant box, based on Debian/Ubuntu installer

License: MIT License

Shell 100.00%

vagrant-box's Introduction

About

This script will:

  1. download the latest version of Debian netinst or Ubuntu server 64bit iso
  2. do some magic to turn it into a vagrant box file
  3. output debian/debian-x.y.0-amd64.box or ubuntu/ubuntu-xx.yy-amd64.box
  4. add just created vagrant box to available list

Requirements

  • Oracle VM VirtualBox
  • Vagrant
  • 7zip
  • curl
  • mkisofs/genisoimage
  • md5sum/md5

Before usage

I've decided to don't use git tags further, so instead, I've created separate git branches with all available distributions and versions. You can see all of them here: https://github.com/kraksoft/vagrant-box/branches/active

Usage on OSX

./build-debian.sh

or

./build-ubuntu.sh

This should do everything you need. If you don't have required package, install homebrew, then:

brew install p7zip
brew install curl
brew install cdrtools
brew install coreutils

Usage on Linux

./build-debian.sh

or

./build-ubuntu.sh

This should do everything you need. If you don't have required package then:

sudo apt-get install p7zip-full
sudo apt-get install curl
sudo apt-get install genisoimage
sudo apt-get install coreutils

Usage on Windows (under cygwin/git shell)

./build-debian.sh

or

./build-ubuntu.sh

Tested under Windows 7 with this tools:

Environment variables

You can affect the default behaviour of the script using environment variables:

VAR=value ./build.sh

The following variables are supported:

  • PRESEED — path to custom preseed file. May be useful when if you need some customizations for your private base box (user name, passwords etc.);

  • LATE_CMD — path to custom late_command.sh. May be useful when if you need some customizations for your private base box (user name, passwords etc.);

  • VM_GUI — if set to yes or 1, disables headless mode for vm. May be useful for debugging installer;

Notes

This script basted on original dotzero's repo and with some tweaks to be compatible Debian/Ubuntu.

vagrant-box's People

Contributors

dotzero avatar kedrap avatar timka avatar dhoss avatar aalmenar avatar xurizaemon avatar mj avatar martijnvermaat avatar pusherman avatar cliffrowley avatar briangilbert avatar alexmarchant avatar emmanuelkasper avatar janl avatar nvtkaszpir avatar tmacedo avatar viktoras25 avatar

Watchers

 avatar James Cloos 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.