代码拉取完成,页面将自动刷新
$machine_cap = "90"
$machine_cpus = "8"
$machine_name = "ubuntu-EFDC"
$machine_ram = "4096"
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.synced_folder "./", "/home/efdc/", create: true
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--name", $machine_name]
vb.customize ["modifyvm", :id, "--cpus", $machine_cpus]
vb.customize ["modifyvm", :id, "--cpuexecutioncap", $machine_cap]
vb.customize ["modifyvm", :id, "--memory", $machine_ram]
end
# execute the setup.sh bash script that installs all required dependencies
config.vm.provision "shell" do |s|
s.path = "./setup.sh"
end
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。