15 lines
508 B
Ruby
15 lines
508 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.provision "shell", inline: "apt-get update -y" # execute pour chacune des machines
|
|
|
|
config.vm.define "IDS" do |ids|#VM No'1
|
|
ids.vm.box = "debian/bookworm64" #Setting machine type
|
|
ids.vm.hostname = "IDS" #Setting machine type
|
|
ids.vm.network "public_network"#Set DHCP
|
|
ids.vm.provision "shell", inline: <<-SHELL
|
|
apt-get install -y wget curl vim unzip chkrootkit rkhunter fail2ban
|
|
SHELL
|
|
end
|
|
end
|