3 Star 13 Fork 0

Gitee 极速下载 / vagrant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/hashicorp/vagrant
克隆/下载
Vagrantfile 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
sophia 提交于 2022-07-28 14:12 . Restore Vagrant development Vagrantfile
# This Vagrantfile can be used to develop Vagrant. Note that VirtualBox
# doesn't run in VirtualBox so you can't actually _run_ Vagrant within
# the VM created by this Vagrantfile, but you can use it to develop the
# Ruby, run unit tests, etc.
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/bionic64"
config.vm.hostname = "vagrant"
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
["vmware_desktop", "virtualbox", "hyperv"].each do |provider|
config.vm.provider provider do |v, override|
v.memory = "2048"
end
end
# We split apart `install_rvm` from `setup_tests` because rvm says to
# logout and log back in just after installing RVM.
# https://github.com/rvm/ubuntu_rvm#3-reboot
config.vm.provision "shell", path: "scripts/install_rvm"
config.vm.provision "shell", path: "scripts/setup_tests"
config.push.define "www", strategy: "local-exec" do |push|
push.script = "scripts/website_push_www.sh"
end
config.push.define "docs", strategy: "local-exec" do |push|
push.script = "scripts/website_push_docs.sh"
end
end
Ruby
1
https://gitee.com/mirrors/vagrant.git
git@gitee.com:mirrors/vagrant.git
mirrors
vagrant
vagrant
main

搜索帮助