红联Linux门户
Linux帮助

Vagrant 1.4发布,虚拟化开发环境部署

发布时间:2013-12-10 08:57:29来源:红联作者:empast
Vagrant 1.4 发布了,包含很多新特性、bug 修复和改进,下载地址:http://www.vagrantup.com/downloads.html

Vagrant是一个基于Ruby的工具,用于创建和部署虚拟化开发环境。它 使用Oracle的开源VirtualBox虚拟化系统,使用 Chef 创建自动化虚拟环境。

该版本包含如下新特性:

New provisioner: Docker. Install Docker, pull containers, and run containers easier than ever.
Machine readable output. Vagrant now has machine-friendly output by using the --machine-readable flag.
New plugin type: synced folder implementation. This allows new ways of syncing folders to be added as plugins to Vagrant.
The Vagrant.require_version function can be used at the top of a Vagrantfile to enforce a minimum/maximum Vagrant version.
Adding boxes via vagrant box add and the Vagrantfile both support providing checksums of the box files.
The --debug flag can be specified on any command now to get debug-level log output to ease reporting bugs.
You can now specify a memory using vb.memory setting with VirtualBox.
Plugin developers can now hook into environment_plugins_loaded, which is executed after plugins are loaded but before Vagrantfiles are parsed.
VirtualBox internal networks are now supported. [GH-2020]

其他方面的改进和 bug 修复列表请看https://github.com/mitchellh/vagrant/blob/v1.4.0/CHANGELOG.md。此外,官方还发布了 Vagrant 1.5 的开发计划。

Vagrant 使用非常简单:

$ vagrant box add base http://files.vagrantup.com/precise32.box
$ vagrant init
$ vagrant up

来自:开源中国社区
文章评论

共有 0 条评论