1 Star 0 Fork 0

wanggang2020/wireshark

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Vagrantfile 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
Sake Blok 提交于 2022-12-18 17:27 +08:00 . vagrant: Bump to Ubunutu 22.04, RAM to 8GB
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Bump the default resources as building is expensive
config.vm.provider "virtualbox" do |v|
v.memory = 8096
v.cpus = 4
end
# Permit X11 forwarding so running the graphical Wireshark works
config.ssh.forward_x11 = true
# Mounting to /vagrant (the default) won't work for building a
# Debian package. Let's be consistent for all boxes.
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder ".", "/home/vagrant/wireshark", type: "virtualbox"
# Install and build the various things (including wireshark!)
config.vm.define "ubuntu", autostart: false do |deb|
deb.vm.box = "ubuntu/jammy64"
deb.vm.provision "shell" do |s|
s.path = 'tools/debian-setup.sh'
s.args = ['--install-optional', '--assume-yes', '--install-qt6-deps']
end
deb.vm.provision :shell, inline: "apt-get -y install ccache"
deb.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
end
config.vm.define "fedora", autostart: false do |rpm|
rpm.vm.box = "fedora/28-cloud-base"
rpm.vm.provision "shell" do |s|
s.path = 'tools/rpm-setup.sh'
s.args = ['--install-optional', '--assumeyes']
end
rpm.vm.provision :shell, inline: "yum -y install ccache"
rpm.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
end
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wanggang2020/wireshark.git
git@gitee.com:wanggang2020/wireshark.git
wanggang2020
wireshark
wireshark
master

搜索帮助