vagrant-installers

Project to automatically create Vagrant installers for various platforms.

  • Owner: hashicorp/vagrant-installers
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Vagrant Installer Generators

This project is able to build installers for Vagrant. The installers
contain the full-stack of Vagrant dependencies: Ruby, RubyGems, Vagrant,
etc.

Current status: Production quality. This project has generated the
installers and packages in use by Vagrant on Linux, Windows, and Mac OS X
since March, 2012.

How it Works

  1. Substrate Layer - This contains all the pre-compiled software
    for the various platforms that Vagrant has installers for. These are
    generated whenever dependencies change and are built/distributed by
    HashiCorp. You likely won't need to build these yourself.

  2. Package Layer - This is a set of scripts that can install a
    specific version of Vagrant into a substrate and package it up for
    the running operating system. You'll invoke this layer, most likely.

Prerequisites

The Vagrant Installer Generators use Vagrant to generate both the
substrate layer and package layer. The boxes used for generating
these layers can be built using the packer templates located in
packer/vagrant.

Building Substrates and Packages

By default, Vagrant will build substrate layers. The result of Vagrant's
provisioning step is controlled by an environment variable:

  • VAGRANT_BUILD_TYPE - substrate or package

The substrate layers must be built prior to building packages. To
build substrates:

$ VAGRANT_BUILD_TYPE="substrate" vagrant up

Once the generation of the substrate layers has completed, the
packages can be generated. This can be done by either first destroying
the running VMs:

$ vagrant destroy --force
$ VAGRANT_BUILD_TYPE="package" vagrant up

or by simply re-provisioning the running VMs:

$ VAGRANT_BUILD_TYPE="package" vagrant provision

Main metrics

Overview
Name With Ownerhashicorp/vagrant-installers
Primary LanguageShell
Program languageShell (Language Count: 8)
Platform
License:MIT License
所有者活动
Created At2012-01-15 04:32:24
Pushed At2025-06-13 05:58:06
Last Commit At2020-10-19 15:38:11
Release Count58
Last Release Namev2.3.5.dev+main (Posted on )
First Release Namev2.2.5+build-test (Posted on )
用户参与
Stargazers Count171
Watchers Count16
Fork Count72
Commits Count2k
Has Issues Enabled
Issues Count68
Issue Open Count3
Pull Requests Count216
Pull Requests Open Count1
Pull Requests Close Count27
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private