Ajout des vagrantfiles au dépôt.

This commit is contained in:
Guillaume Emorine
2024-11-28 12:02:52 +01:00
parent 996e230d44
commit 4a4ba1214f
192 changed files with 1690 additions and 0 deletions

View File

@@ -0,0 +1 @@
1.5:3fa2b880-a2c9-40fb-a746-93070feb6be9

View File

@@ -0,0 +1 @@
{"name":"debian/bookworm64","version":"12.20240905.1","provider":"virtualbox","directory":"boxes/debian-VAGRANTSLASH-bookworm64/12.20240905.1/virtualbox"}

View File

@@ -0,0 +1 @@
3fa2b880-a2c9-40fb-a746-93070feb6be9

View File

@@ -0,0 +1 @@
964b49aa565f4ecca1c96de472a76304

View File

@@ -0,0 +1,8 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
AAtzc2gtZWQyNTUxOQAAACA0CChkxi/CkQIH42AhnodwCuwzYgi1y/mjnu5X
bHm7hgAAAJBVfnocVX56HAAAAAtzc2gtZWQyNTUxOQAAACA0CChkxi/CkQIH
42AhnodwCuwzYgi1y/mjnu5XbHm7hgAAAEAYF/eC87pVaFYPq980N8iPNlsl
JpRgAvnEgSmOiW6s2jQIKGTGL8KRAgfjYCGeh3AK7DNiCLXL+aOe7ldsebuG
AAAAB3ZhZ3JhbnQBAgMEBQY=
-----END OPENSSH PRIVATE KEY-----

View File

@@ -0,0 +1 @@
{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/guillaume.emorine/vagrant/ELK-gwsio","disabled":false,"__vagrantfile":true}}}

View File

@@ -0,0 +1 @@
/home/guillaume.emorine/vagrant/ELK-gwsio

View File

@@ -0,0 +1,12 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
# This file loads the proper rgloader/loader.rb file that comes packaged
# with Vagrant so that encoded files can properly run with Vagrant.
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
require File.expand_path(
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
else
raise "Encoded files can't be read outside of the Vagrant installer."
end

View File

@@ -0,0 +1,51 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "debian/bookworm64"
config.vm.hostname = "elk-cli"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network "public_network"
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
vb.memory = "1024"
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Enable provisioning with a shell script. Additional provisioners such as
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
timedatectl set-timezone Europe/Paris
apt-get update
apt-get install -y vim curl wget git
curl -L -O https://artifacts.elastic.co/downloads/beats/auditbeat/auditbeat-8.16.0-amd64.deb
sudo dpkg -i auditbeat-8.16.0-amd64.deb
curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-8.16.0-amd64.deb
sudo dpkg -i heartbeat-8.16.0-amd64.deb
SHELL
end