代码拉取完成,页面将自动刷新
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 3000, host: 9998
config.vm.network "forwarded_port", guest: 35432, host: 35432
config.vm.network "forwarded_port", guest: 29992, host: 9992
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
# vb.gui = true
# Customize the amount of memory on the VM:
vb.memory = "4096"
vb.cpus = 3
end
config.vm.provider "vmware_fusion" do |v|
v.vmx["memsize"] = "4096"
v.vmx["numvcpus"] = 2
end
config.vm.provision "shell", path: "./development/vagrant/provision.sh", privileged: false
config.vm.provision "shell", path: "./development/vagrant/mount.sh", privileged: true, run: 'always'
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。