From 79af6d8a2926d398785cb7f50e441d29572ce558 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 Sep 2023 15:06:42 +0200 Subject: [PATCH] fichier vagrant machine simple --- sio2/VAGRANT/Vagrantfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sio2/VAGRANT/Vagrantfile diff --git a/sio2/VAGRANT/Vagrantfile b/sio2/VAGRANT/Vagrantfile new file mode 100644 index 0000000..82f439f --- /dev/null +++ b/sio2/VAGRANT/Vagrantfile @@ -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