ajout vagrantfile

This commit is contained in:
Alhassane Kone
2023-09-22 13:57:41 +02:00
parent 589b5b28af
commit 1bfdc82fd2
2 changed files with 42 additions and 10 deletions

14
sio2/VAGRANT/Vagrantfile2 Normal file
View File

@@ -0,0 +1,14 @@
# -*- 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