Ajout des vagrantfiles au dépôt.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
1.5:06f76826-1fc2-4258-8dfe-96c459866722
|
||||
@@ -0,0 +1 @@
|
||||
1731948159
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"debian/bookworm64","version":"12.20240905.1","provider":"virtualbox","directory":"boxes/debian-VAGRANTSLASH-bookworm64/12.20240905.1/virtualbox"}
|
||||
@@ -0,0 +1 @@
|
||||
1010
|
||||
@@ -0,0 +1 @@
|
||||
06f76826-1fc2-4258-8dfe-96c459866722
|
||||
@@ -0,0 +1 @@
|
||||
6f46c026f2c54b15bed0f349a03b0596
|
||||
@@ -0,0 +1,8 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
|
||||
AAtzc2gtZWQyNTUxOQAAACA56T1u5azsHtRFnK2l9RCAYtph5jlMFPRm2zCD
|
||||
9DZ5RQAAAJAnXU8FJ11PBQAAAAtzc2gtZWQyNTUxOQAAACA56T1u5azsHtRF
|
||||
nK2l9RCAYtph5jlMFPRm2zCD9DZ5RQAAAEDGU1kahUM5db/ZjlAPbZIZB/BJ
|
||||
+IA7KgrlC/pypyAe5DnpPW7lrOwe1EWcraX1EIBi2mHmOUwU9GbbMIP0NnlF
|
||||
AAAAB3ZhZ3JhbnQBAgMEBQY=
|
||||
-----END OPENSSH PRIVATE KEY-----
|
||||
@@ -0,0 +1 @@
|
||||
{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/guillaume.emorine/vagrant/ELK-apache","disabled":false,"__vagrantfile":true}}}
|
||||
@@ -0,0 +1 @@
|
||||
/home/guillaume.emorine/vagrant/ELK-apache
|
||||
@@ -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
|
||||
49
bts_annee_2/vagrantfiles/ELK-apache/Vagrantfile
vendored
Normal file
49
bts_annee_2/vagrantfiles/ELK-apache/Vagrantfile
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
# -*- 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-apache"
|
||||
|
||||
# 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/filebeat/filebeat-8.16.0-amd64.deb
|
||||
sudo dpkg -i filebeat-8.16.0-amd64.deb
|
||||
SHELL
|
||||
end
|
||||
Reference in New Issue
Block a user