Git Product home page Git Product logo

vm's Introduction

Tested against

  • Host: Mac OS X 10.10.2, Ubuntu 14.04 LTS
  • Virtualization Providers: VirtualBox 4.3.10, VMware Fusion 7.1.1 (2498930)
  • Packer^ ~> 0.7.5
  • Vagrant ~> 1.7.2

(^) Packer is required to build the custom Ubuntu image.

Installation

Define your Base Box

cp packer/template.json.example packer/template.json

Note: packer/template.json.example is based on Packer 0.7.1.

Default hardware settings (adjust variables as necessary)

  • cpu_cores: 4 cores
  • memory: 4096 MB
  • disk_size: 20140 MB

Vagrantfile

  • Copy Vagrantfile.example as Vagrantfile or create your own.
  • Configure and uncomment recipes that you want to cook.
  • Optionally create your own recipes and place in the cookbooks/custom directory

One click install command

rake virtualbox:install
rake vmware:install

The basic vagrant commands

  vagrant up      # starts vagrant
  vagrant ssh     # SSH into vagrant
  vagrant reload  # restarts vagrant
  vagrant halt    # stops vagrant

Gotchas

  1. If your vm cannot connect to the internet (this typically happens when you switch from one network to another on a VirtualBox vm), run this command:
sudo dhclient
  1. You received the message: "Error creating VM: VBoxManage error: VBoxManage: error: Machine settings file <path_to_vbox> already exists". Installation was left in a bad state. Open VirtualBox, stop and remove the existing VM. Delete this vbox in your VirtualBox directory and re-run the command that failed.

  2. On VMware, if HGFS kernel module could not be found, you'll need to re-install VMwareTools.

vm's People

Contributors

bwvoss avatar mylesmegyesi 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.