vagrant-installers

项目为各种平台自动创建Vagrant安装程序。(Project to automatically create Vagrant installers for various platforms.)

Github星跟踪图

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

主要指标

概览
名称与所有者hashicorp/vagrant-installers
主编程语言Shell
编程语言Shell (语言数: 8)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2012-01-15 12:32:24
推送于2025-08-04 23:55:26
最后一次提交2020-10-20 04:38:11
发布数58
最新版本名称v2.3.5.dev+main (发布于 )
第一版名称v2.2.5+build-test (发布于 )
用户参与
星数171
关注者数15
派生数74
提交数2k
已启用问题?
问题数68
打开的问题数3
拉请求数217
打开的拉请求数2
关闭的拉请求数27
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?