-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
28 lines (24 loc) · 1.67 KB
/
Vagrantfile
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
28
Vagrant.configure("2") do |config|
config.vm.box = "emoflon"
config.vm.define 'emoflon'
config.vm.provider :virtualbox do |vb|
vb.name = "emoflon-hosr"
vb.memory = 8192
vb.cpus = 2
end
# Copy eMoflon::IBeX HOSR-specific files
config.vm.provision "file", source: "./resources/updatesite.zip", destination: "updatesite.zip"
config.vm.provision "file", source: "./resources/workspace.zip", destination: "workspace.zip"
config.vm.provision "file", source: "./resources/content-onto-desktop/ArtifactEvaluation.pdf", destination: "Desktop/ArtifactEvaluation.pdf"
config.vm.provision "shell", inline: "mkdir -p /home/vagrant/Desktop/paper-eval-results && chown -R vagrant:vagrant /home/vagrant/Desktop/paper-eval-results"
config.vm.provision "file", source: "./resources/content-onto-desktop/paper-eval-results/Benchmark_HO-SC-Horizontal.txt", destination: "Desktop/paper-eval-results/Benchmark_HO-SC-Horizontal.txt"
config.vm.provision "file", source: "./resources/content-onto-desktop/paper-eval-results/Benchmark_HO-SC-Vertical.txt", destination: "Desktop/paper-eval-results/Benchmark_HO-SC-Vertical.txt"
config.vm.provision "file", source: "./resources/content-onto-desktop/paper-eval-results/Benchmark_HO-SC-VerticalMultiChange.txt", destination: "Desktop/paper-eval-results/Benchmark_HO-SC-VerticalMultiChange.txt"
# Provisioning script
config.vm.provision "shell", path: "prov.sh", privileged: false
# Prevent SharedFoldersEnableSymlinksCreate errors
config.vm.synced_folder ".", "/vagrant", disabled: true
config.ssh.username = 'vagrant'
config.ssh.password = 'vagrant'
config.ssh.insert_key = false
end