发布于 2016-06-12 00:20:53 | 165 次阅读 | 评论: 0 | 来源: 网友投递
Vagrant 创建虚拟化开发环境
Vagrant是一个基于Ruby的工具,用于创建和部署虚拟化开发环境。它 使用Oracle的开源VirtualBox虚拟化系统,使用 Chef创建自动化虚拟环境。
Vagrant 1.8.3 发布了,
功能特性:
支持快速新建虚拟机
支持快速设置端口转发
支持自定义镜像打包(原始镜像方式、增量补丁方式)
基本上日常能用到的基础配置都能快速设置
支持开机启动自动运行命令
可以自己写扩展
本次发布一些提升:
core/downloader: increase box resume download limit to 24h [GH-7352, GH-7272]
core/package: run validations prior to packaging [GH-7353, GH-7351]
core/action: make start
("vagrant up") run provisioners [GH-4467, GH-4421]
commands/all: Make it clear that machine IDs can be specified [GH-7356, GH-7228]
commands/init: Add support for specifying the box version [GH-7363, GH-5004]
commands/login: Print a warning with both the environment variable and local login token are present [GH-7206, GH-7219]
communicators/winrm: Upgrade to latest WinRM gems [GH-6922]
provisioners/ansible_local: Allow to install Ansible from pip, with version selection capability [GH-6654, GH-7167]
provisioners/ansible_local: Use provisioning_path
as working directory for ansible-galaxy
execution
provisioners/ansible(both provisioners): Add basic config validators/converters on raw_arguments
and raw_ssh_args
options [GH-7103]
provisioners/chef: Add the ability to install on SUSE [GH-6806]
provisioners/chef: Support legacy solo mode [GH-7327]
provisioners/docker: Restart container if newer image is available [GH-7358, GH-6620]
hosts/arch: Remove sysvinit and assume systemd [GH-7181]
hosts/linux: Do not use a pager with systemctl commands [GH-7270]
hosts/darwin: Add extra_args
support for RDP [GH-5523, GH-6602]
hosts/windows: Use SafeExec to capture history in Powershell [GH-6749]
guests/amazon: Add detection [GH-7395, GH-7254]
guests/freebsd: Add quotes around hostname [GH-6867]
guests/fedora: Add support for ipv6 static networks [GH-7275, GH-7276]
guests/tinycore: Add support for shared folders [GH-6977, GH-6968]
guests/trisquel: Add initial support [GH-6842, GH-6843]
guests/windows: Add support for automatic login (no password prompting) [GH-5670]
core: Add --no-delete
and provisioning flags to snapshot restore/pop [GH-6879]
providers/docker: Allow TCP and UDP ports on the same number [GH-7365, GH-5527]
providers/hyperv: Add support for differencing disk [GH-7090]
providers/hyperv: Add support for snapshots [GH-7110]
providers/hyperv: Reinstate compatibility with PS 4 [GH-7108]
providers/virtualbox: Add linked clone support for Virtualbox 1.4 [GH-7050]
synced_folders/nfs: Read static and dynamic IPs [GH-7290, GH-7289]
查看完整发布说明,可以点击这里。