Ajout des vagrantfiles au dépôt.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
1.5:0db08738-f746-4d44-b43c-c6829838f09d
|
@@ -0,0 +1 @@
|
||||
1725891956
|
@@ -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 @@
|
||||
0db08738-f746-4d44-b43c-c6829838f09d
|
@@ -0,0 +1 @@
|
||||
c0a00e1e246043c6bddafdcf74be9abe
|
@@ -0,0 +1,8 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
|
||||
AAtzc2gtZWQyNTUxOQAAACDaiqT4PICPdZEeYDIKILWdhiAVJmJOfW4h7oNU
|
||||
V7KUugAAAJBvv6XWb7+l1gAAAAtzc2gtZWQyNTUxOQAAACDaiqT4PICPdZEe
|
||||
YDIKILWdhiAVJmJOfW4h7oNUV7KUugAAAECrNB+nRjUDer0SkNv9iLlT8tVC
|
||||
mqPVs4QDWI3Sx+4y+dqKpPg8gI91kR5gMgogtZ2GIBUmYk59biHug1RXspS6
|
||||
AAAAB3ZhZ3JhbnQBAgMEBQY=
|
||||
-----END OPENSSH PRIVATE KEY-----
|
@@ -0,0 +1 @@
|
||||
{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/guillaume.emorine/vagrant/r5","disabled":false,"__vagrantfile":true}}}
|
@@ -0,0 +1 @@
|
||||
/home/guillaume.emorine/vagrant/r5
|
@@ -0,0 +1 @@
|
||||
1.5:04562a39-86cc-47af-a37d-b0033124bab9
|
@@ -0,0 +1 @@
|
||||
1725892166
|
@@ -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 @@
|
||||
04562a39-86cc-47af-a37d-b0033124bab9
|
@@ -0,0 +1 @@
|
||||
cbfa2a09758b405bbf741a0b783e1eaa
|
@@ -0,0 +1,8 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
|
||||
AAtzc2gtZWQyNTUxOQAAACD+XGvVotBGIJQ6Cavr4ABClKchzB8hpaGpJ4b8
|
||||
OVzZpgAAAJAmQamCJkGpggAAAAtzc2gtZWQyNTUxOQAAACD+XGvVotBGIJQ6
|
||||
Cavr4ABClKchzB8hpaGpJ4b8OVzZpgAAAED4pz27EVuiOR8AP5nuAYdjrwZn
|
||||
d41eMUK+yf5jBhEEkP5ca9Wi0EYglDoJq+vgAEKUpyHMHyGloaknhvw5XNmm
|
||||
AAAAB3ZhZ3JhbnQBAgMEBQY=
|
||||
-----END OPENSSH PRIVATE KEY-----
|
@@ -0,0 +1 @@
|
||||
{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/guillaume.emorine/vagrant/r5","disabled":false,"__vagrantfile":true}}}
|
@@ -0,0 +1 @@
|
||||
/home/guillaume.emorine/vagrant/r5
|
12
bts_annee_2/vagrantfiles/rsync/.vagrant/rgloader/loader.rb
Normal file
12
bts_annee_2/vagrantfiles/rsync/.vagrant/rgloader/loader.rb
Normal 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
|
28
bts_annee_2/vagrantfiles/rsync/Vagrantfile
vendored
Normal file
28
bts_annee_2/vagrantfiles/rsync/Vagrantfile
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.provision "shell", inline: "apt-get update" # execute pour chacune des machines
|
||||
|
||||
config.vm.define "srv1" do |srv1|#VM No'1
|
||||
srv1.vm.box = "debian/bookworm64" #Setting machine type
|
||||
srv1.vm.hostname = "srv1" #Setting machine type
|
||||
srv1.vm.network "public_network", ip: "192.168.0.111"#Set static IP
|
||||
srv1.vm.provision "shell", inline: <<-SHELL
|
||||
timedatectl set-timezone Europe/Paris
|
||||
apt-get install -y wget curl vim unzip apache2
|
||||
echo "192.168.0.112 srv2" >> /etc/hosts
|
||||
SHELL
|
||||
end
|
||||
|
||||
config.vm.define "srv2" do |srv2|# VM No2
|
||||
srv2.vm.box = "debian/bookworm64" #Setting machine type
|
||||
srv2.vm.hostname = "srv2" #Setting machine type
|
||||
srv2.vm.network "public_network", ip: "192.168.0.112" #Set static IP
|
||||
srv2.vm.provision "shell", inline: <<-SHELL
|
||||
timedatectl set-timezone Europe/Paris
|
||||
apt-get install -y wget curl vim unzip apache2
|
||||
echo "192.168.0.111 srv1" >> /etc/hosts
|
||||
SHELL
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user