1 Star 0 Fork 1

huth511 / cmu15445-fall2020-for-test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Vagrantfile 867 Bytes
一键复制 编辑 原始数据 按行查看 历史
# -*- mode: ruby -*-
# vi: set ft=ruby et:
# Customize VM resources
VM_CPUS = "4"
VM_MEMORY = "2048" # MB
VM_NAME = "BustubVM"
Vagrant.configure(2) do |config|
# Pick a box to use
config.vm.box = "ubuntu/focal64"
# Config VM
config.vm.provider :virtualbox do |vb|
vb.customize [ "modifyvm", :id,
"--memory", VM_MEMORY,
"--name", VM_NAME,
"--nicspeed1", 1000000,
"--nicspeed2", 1000000,
"--ioapic", "on",
"--cpus", VM_CPUS ]
end
# SSH
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
# Link current repo into VM
config.vm.synced_folder "..", "/bustub"
# Setup environment
config.vm.provision :shell, :inline => "apt-get update"
config.vm.provision "shell" do |s|
s.path = "https://github.com/cmu-db/bustub/raw/vagrant/build_support/packages.sh"
s.args = "-y"
end
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huth511/cmu15445-fall2020-for-test.git
git@gitee.com:huth511/cmu15445-fall2020-for-test.git
huth511
cmu15445-fall2020-for-test
cmu15445-fall2020-for-test
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891