Easing the building of vagrant boxes
Перейти к файлу
Patrick Debois 8ab11e33ef Merge pull request #953 from cannium/master
Fix a bug when build kvm box.
2014-05-27 08:24:11 +02:00
.bundle moved em-winrm to a seperate bundle group to achieve ruby-1.8.7 compatibility 2013-04-03 16:05:23 +02:00
bin Exit with a non-zero exit code if something goes wrong 2014-01-30 15:56:13 +01:00
doc Minor documentation typo fix 2014-05-21 10:09:29 +12:00
lib Fix VMWare Fusion 6 compatability 2014-05-08 22:30:46 +03:00
templates Fix a bug when build kvm box. 2014-05-27 11:41:11 +08:00
test Fixed test_environment_default_to_currentdir failing when VEEWEE_DIR is set. 2013-03-06 15:45:01 +01:00
validation bye bye cucumber 2013-02-19 13:36:41 +01:00
.gitignore Merge pull request #842 from leopoiroux/master 2013-11-03 23:15:34 -08:00
.rvmrc Bump Ruby version to 1.9.3 2013-04-26 17:32:14 -03:00
.travis.yml Let's see if ruby 2.0 get's it to install 2013-05-30 15:33:35 +03:00
CONTRIBUTE.md Documentation syntax fix: howto create and checkout a new_patch branch 2013-10-03 15:24:39 -07:00
Gemfile Fix Gemfile with https for github 2013-11-20 19:47:59 +01:00
License update license year to 2012 2012-02-04 10:43:14 +01:00
README.md Add veewee parallels export command. 2013-09-21 14:59:25 +02:00
Rakefile Removed duplicate install task in Rakefile. Cutes the instal time into half. 2013-03-06 17:31:35 +01:00
veewee.gemspec Order of s.add_dependency is important 2014-01-08 11:09:22 +11:00

README.md

Veewee

Build Status

Veewee is a tool for easily (and repeatedly) building custom Vagrant base boxes, KVMs, and virtual machine images.

About Vagrant

Vagrant is a great tool for creating and configuring lightweight, reproducible, portable virtual machine environments - often used with the addition of automation tools such as Chef or Puppet.

The first step to build a new virtual machine is to download an existing 'base box'. I believe this scares a lot of people as they don't know how these unverified boxes were built. Therefore a lot of people end up building their own base box which is often time consuming and cumbersome. Veewee aims to automate all the steps for building base boxes and to collect best practices in a transparent way.

Veewee's Supported VM Providers

Veewee isn't only for Vagrant. It currently supports exporting VM images for the following providers:

Getting Started

Before you start, we recommend reading through these pages:

Next, learn about Veewee fundamentals:

Then depending on how you want to use Veewee, we suggest to read through one of the following guides:

Major noteworthy changes between versions can be found here:

A complete list of all docs can be found by viewing the doc directory.

Veewee Commands

Below is an overview of the veewee command options:

$ bundle exec veewee

# Commands:
#   veewee add_share       # Adds a Share to the Guest
#   veewee fusion          # Subcommand for Vmware fusion
#   veewee help [COMMAND]  # Describe available commands or one specific command
#   veewee kvm             # Subcommand for KVM
#   veewee parallels       # Subcommand for Parallels
#   veewee vbox            # Subcommand for VirtualBox
#   veewee version         # Prints the Veewee version information

Learn how to avoid typing bundle exec by visiting the Commands doc.

Veewee Provider Subcommands

Below is an overview of the veewee provider subcommand options:

$ bundle exec veewee <provider>

# Commands:
#   veewee <provider> build [BOX_NAME]                 # Build box
#   veewee <provider> copy [BOXNAME] [SRC] [DST]       # Copy a file to the VM
#   veewee <provider> define [BOXNAME] [TEMPLATE]      # Define a new basebox starting from a template
#   veewee <provider> destroy [BOXNAME]                # Destroys the basebox that was built
#   veewee <provider> halt [BOXNAME]                   # Activates a shutdown on the basebox
#   veewee <provider> help [COMMAND]                   # Describe subcommands or one specific subcommand
#   veewee <provider> list                             # Lists all defined boxes
#   veewee <provider> ostypes                          # List the available Operating System types
#   veewee <provider> screenshot [NAME] [PNGFILENAME]  # Takes a screenshot of the box
#   veewee <provider> ssh [BOXNAME] [COMMAND]          # Interactive ssh login
#   veewee <provider> templates                        # List the currently available templates
#   veewee <provider> undefine [BOXNAME]               # Removes the definition of a basebox
#   veewee <provider> up [BOXNAME]                     # Starts a Box
#   veewee <provider> validate [NAME]                  # Validates a box against vagrant compliancy rules
#   veewee <provider> winrm [BOXNAME] [COMMAND]        # Execute command via winrm

Contribute

People have reported good experiences, why don't you give it a try?

If you have a setup working, share your 'definition' with me. That would be fun!

See CONTRIBUTE.md.