ajout Vagrant

This commit is contained in:
2022-11-18 08:43:52 +01:00
parent f66fc1b4e4
commit 2f0b8443fa
44 changed files with 540 additions and 0 deletions

View File

@@ -0,0 +1 @@
1.5:33c25326-0f1e-42c4-96b2-ea481a3bcbc7

View File

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

View File

@@ -0,0 +1 @@
33c25326-0f1e-42c4-96b2-ea481a3bcbc7

View File

@@ -0,0 +1 @@
fba1dcbac5454985853e965ee44796b4

View File

@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAyY/uWYFkbXpIUSCZ/DeIrIlRlMLFV9nQTqa5o20qVLYqXO1d
7ujQPf3wDBkxB9ih0xmeu8K8434KdvbL+3z+qWEa30iYFdYKD9o8MOYQAiorDqtl
ygmNx4SoVnDj9koNVdL4y2JlyLComp9dw+Wt0YpEp34TAV+eRzMAPkVsdFv6AoPD
CMI7/v8kInImdr60bHUx35wcDN6rlI5DUIcxSsETQ1ihMcksLjvUKg9DMMp5fwoj
YsSITlYR4ZN52G8ScWoCh3knWPMmNh9y6aOhqVVzW+vEX85VanE5PeYZ9a5Uf5sf
ss+wTtvIzqlMut+CoR1Zi7AO4hCUl+Dx+4tqRwIDAQABAoIBAQCoTNgWQGZcy1gK
9Y/d+3jRqC9IaYFiI2s94RTsksBfz2N8CG8Ah8EpohmH4JkCFi65F5Fk8evKgHm4
b8ZPDUWOpJhNjE4BHaF1LyJHKjJ/vDoLm634jxWlXO06kDSod5i+6tP27whSFMAT
q7IdWnBSoING34x6/x4oETvIwysV1CFk7AAnyITjWmN27pTJ6byx8U7m5r86RkGD
U/IoaMIjlsRJCxv04UnZLL5d0eo6/eOUKkMFdTt7U4sKNv/f8dIGLJGjOyakiGdU
iCt1SE2iloQrgjBIcUhFboSCGtTCF9DGi/oLSNjCmNX4Is9r17eRPk6qJuqSRW02
ADZ+Zd8RAoGBAPylIqdgjzGfIdumI7Ucg0hXrkLNK0HUzXjLI9i7Kju1wWWRlbdy
wnkRnEL9m6FzFx95XH8YAcC1wBCr8GqO4k9VwAt3X1qjAEGenAa6dPVwrD2ARkur
Q88wH8Xz/G16pfd31DvgudstpQ3Iu1TpmC4y+KRNOhWCQVq9c/3FauTLAoGBAMw9
I9sqHA7gIAS2C2CmJbjOFIqHARljdumhlChWrjBZDFQzkx2xYPUQEtlm++EUWXi4
YGib5fIn1jTeA6UuduyrTON/5+cUGOFoA2r/pMYpk+llw3zdqhlJwKRSltjVuxNb
RQ7YQZ7FkeWBhhOrG86CAfCqCuCokvbFSGo64Nz1AoGAR7niQr6pKJ9TD3b1gD+e
DfXGpXR2KXRu+TJC9Q7+CIGrbFiOtsw/5ftX77TscEOqducPmY2JQdrXsmP+F2KF
YZyorxiu256XPgn3pfldpyjb3YIDcwwmbjXtb1e7fKFraPx+JpnAajdlOqqYdJz0
9XjHGm5KZTzbrRVITu2zUU0CgYEAqtDH2FlTti1FGiuXQHI1Qmc5TtKy3KUPoz78
RvCYJt+TLCkmdcMQsGWNHj6/kvQOEKVEHLmmi+09fmHg8pn15OMwH2WuctmgJYV0
tlyxVvsXNjFiWmCaDyRb9hMNDrVTDVFcZJoB5+SdrTGzDWgijYi2Tq4pAtR6deFy
O0abIrECgYEAoCXPWgTDV+ZHX+Xxrqe0vuqMOEhz+hkp6IWGcJLSy84G7P4cD24K
J/Xa9iBLxJ3kvkfO/Pyxwme2bTtYzb5abyTB9JLz8yvUN4QzZSVHq2nVpHWhQcfO
3sQU57ZxV93yzSDIQBHAQq+58QgtqshKgY4uD6nhxaG8OJJU1XoFO2s=
-----END RSA PRIVATE KEY-----

View File

@@ -0,0 +1 @@
{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/mathis.laceppe/vagrant/nextcloud","disabled":false,"__vagrantfile":true}}}

View File

@@ -0,0 +1 @@
/home/mathis.laceppe/vagrant/nextcloud

View File

@@ -0,0 +1,9 @@
# 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,78 @@
# -*- 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/bullseye64"
config.vm.hostname = "nextcloud"
# 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 forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
# via 127.0.0.1 to disable public access
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# 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"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
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 = "3096"
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
apt-get update
apt install -y wget curl git vim
if ! which docker ; then
curl -s -o getdocker.sh https://get.docker.com
bash getdocker.sh
gpasswd -a vagrant docker
fi
# apt-get install -y apache2
SHELL
end