-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
23 lines (16 loc) · 929 Bytes
/
Vagrantfile
File metadata and controls
23 lines (16 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Vagrant.configure("2") do |config|
config.vm.define "debian_vm" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.box_version = "4.3.12"
debian.vm.synced_folder "./challenges", "/tmp/remote_folder", type: "rsync", rsync__exclude: [".venv", ".idea", ".vscode", "__pycache__"]
debian.vm.provision "file", source: "services/admin_simulator.service", destination: "/tmp/admin_simulator.service"
debian.vm.provision "file", source: "services/file_browser.service", destination: "/tmp/file_browser.service"
debian.vm.provision "file", source: "services/news_feed.service", destination: "/tmp/news_feed.service"
debian.vm.provision "file", source: "setup/bash_history", destination: "/tmp/bash_history"
debian.vm.provision "shell", path: "setup/provision.sh"
end
config.vm.define "kali_vm" do |kali|
kali.vm.box = "kalilinux/rolling"
kali.vm.box_version = "2024.4"
end
end