fichier vagrant machine simple
This commit is contained in:
		
							
								
								
									
										14
									
								
								sio2/VAGRANT/Vagrantfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								sio2/VAGRANT/Vagrantfile
									
									
									
									
										vendored
									
									
										Normal 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 | ||||
		Reference in New Issue
	
	Block a user