forked from AppImage/type2-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
27 lines (22 loc) · 782 Bytes
/
Vagrantfile
File metadata and controls
27 lines (22 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
# we define both a Linux and a FreeBSD environment so that we can test the chroot environment on both
Vagrant.configure("2") do |config|
config.vm.define :ubuntu do |ubuntu|
ubuntu.vm.box = "ubuntu/jammy64"
ubuntu.vm.provision "shell", inline: <<-SHELL
export DPKG_FRONTEND=noninteractive
apt-get update
apt-get install -y wget qemu-user-static
SHELL
end
config.vm.define :freebsd do |freebsd|
freebsd.vm.box = "freebsd/FreeBSD-14.1-RELEASE"
# on FreeBSD, vboxvfs appears to be _really_ buggy
# therefore, we'll use good ol' rsync
freebsd.vm.synced_folder ".", "/vagrant", type: "rsync"
freebsd.vm.provision "shell", inline: <<-SHELL
pkg install -y wget
SHELL
end
end