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:da9d05b5-c1ba-4981-b9d0-d15e9c71cc2f

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 @@
da9d05b5-c1ba-4981-b9d0-d15e9c71cc2f

View File

@@ -0,0 +1 @@
5bc5bb7bcf2e4160a2a26dd9411f1e09

View File

@@ -0,0 +1,8 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
AAtzc2gtZWQyNTUxOQAAACDX7e5ukFya9Yx4i9kHfXcx+754EBXmDu+6YGoy
vy+jigAAAJAWItrYFiLa2AAAAAtzc2gtZWQyNTUxOQAAACDX7e5ukFya9Yx4
i9kHfXcx+754EBXmDu+6YGoyvy+jigAAAEDGMKSYhm0i7YbEvkaysKBm4F3q
YzL2BqTBfk/sn620bNft7m6QXJr1jHiL2Qd9dzH7vngQFeYO77pgajK/L6OK
AAAAB3ZhZ3JhbnQBAgMEBQY=
-----END OPENSSH PRIVATE KEY-----

View File

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

View File

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

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,50 @@
# -*- 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"
# 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 = "4096"
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 -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
git clone https://github.com/deviantony/docker-elk.git
ip -br a
SHELL
end