Compare commits
6 Commits
v0.0.1a-ps
...
v0.0.1g-ps
Author | SHA1 | Date | |
---|---|---|---|
|
9f99511968 | ||
|
cceccda12b | ||
|
36a6850a52 | ||
|
d14bf44b2b | ||
|
a4fd46609d | ||
|
1b2c6a9220 |
10
README.md
10
README.md
@@ -1,6 +1,6 @@
|
|||||||
# gsb2024
|
# gsb2024
|
||||||
|
|
||||||
2024-12-18 ps
|
2024-12-19 ps
|
||||||
|
|
||||||
Environnement et playbooks ansible pour le projet GSB 2024
|
Environnement et playbooks ansible pour le projet GSB 2024
|
||||||
|
|
||||||
@@ -8,8 +8,8 @@ Environnement et playbooks ansible pour le projet GSB 2024
|
|||||||
Prérequis :
|
Prérequis :
|
||||||
* une machine Debian Bookworm
|
* une machine Debian Bookworm
|
||||||
* VirtualBox
|
* VirtualBox
|
||||||
* fichier machines viruelles **ova** :
|
* fichier machines virtuelles **ova** :
|
||||||
* **debian-bullseye-gsb-2023a.ova**
|
* **debian-bookworm-gsb-2023c.ova**
|
||||||
* **debian-buster-gsb-2023a.ova**
|
* **debian-buster-gsb-2023a.ova**
|
||||||
|
|
||||||
|
|
||||||
@@ -42,8 +42,8 @@ Prérequis :
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
On utilisera les images de machines virtuelle suivantes :
|
On utilisera les images de machines virtuelle suivantes :
|
||||||
* **debian-biookworm-2023c.ova** (2024-12-18)
|
* **debian-bookworm-gsb-2023c.ova** (2024-12-18)
|
||||||
* Debian Bullseye 12.4 - 2 cartes - 1 Go - Stockage 20 Go
|
* Debian Bookworm 12.4 - 2 cartes - 1 Go - Stockage 20 Go
|
||||||
|
|
||||||
et pour **s-fog** :
|
et pour **s-fog** :
|
||||||
* **debian-buster-2023a.ova** (2023-01-06)
|
* **debian-buster-2023a.ova** (2023-01-06)
|
||||||
|
@@ -3,11 +3,11 @@
|
|||||||
apt update
|
apt update
|
||||||
apt install -y curl sudo wget vim git ansible
|
apt install -y curl sudo wget vim git ansible
|
||||||
timedatectl set-timezone Europe/Paris
|
timedatectl set-timezone Europe/Paris
|
||||||
echo bookworm64 > /etc/hostname
|
echo bookworm > /etc/hostname
|
||||||
|
|
||||||
cat > /etc/hosts <EOT
|
cat > /etc/hosts << EOT
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost
|
||||||
127.0.1.1 bookworm64
|
127.0.1.1 bookworm
|
||||||
127.0.0.1 localhost ip6-localhost ip6-loopback
|
127.0.0.1 localhost ip6-localhost ip6-loopback
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
@@ -1,10 +1,4 @@
|
|||||||
#
|
deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
|
deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||||
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
|
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||||
|
|
||||||
deb http://security.debian.org/ wheezy/updates main
|
|
||||||
|
|
||||||
deb http://ftp.fr.debian.org/debian/ wheezy-updates main
|
|
||||||
|
|
||||||
deb http://http.debian.net/debian wheezy-backports main
|
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
deb http://deb.debian.org/debian/ bullseye main non-free contrib
|
deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
|
deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||||
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
|
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||||
|
|
||||||
|
4
roles/base/files/sources.list.bookworm
Normal file
4
roles/base/files/sources.list.bookworm
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
|
deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||||
|
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||||
|
|
4
roles/base/files/sources.list.bullseye
Normal file
4
roles/base/files/sources.list.bullseye
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
deb http://deb.debian.org/debian/ bullseye main non-free contrib
|
||||||
|
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
|
||||||
|
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
|
||||||
|
|
@@ -9,6 +9,6 @@
|
|||||||
- squid
|
- squid
|
||||||
# - local-store
|
# - local-store
|
||||||
- snmp-agent
|
- snmp-agent
|
||||||
- syslog-cli
|
#- syslog-cli
|
||||||
- post
|
- post
|
||||||
# - goss
|
# - goss
|
||||||
|
@@ -3,8 +3,8 @@ apt-get update
|
|||||||
#upgrade -y
|
#upgrade -y
|
||||||
mkdir -p /root/tools/ansible
|
mkdir -p /root/tools/ansible
|
||||||
cd /root/tools/ansible
|
cd /root/tools/ansible
|
||||||
git clone https://gitea.lyc-lecastel.fr/gadmin/gsb2023.git
|
git clone https://gitea.lyc-lecastel.fr/gsb/gsb2024.git
|
||||||
cd gsb2023/pre
|
cd gsb2024/pre
|
||||||
export DEPL=192.168.99.99
|
export DEPL=192.168.99.99
|
||||||
bash gsbboot
|
bash gsbboot
|
||||||
cd ../..
|
cd ../..
|
@@ -1,10 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkvmrelease="v1.2.2"
|
mkvmrelease="v1.2.3"
|
||||||
|
|
||||||
ovarelease="2023b"
|
ovarelease="2023c"
|
||||||
ovafogrelease="2023b"
|
ovafogrelease="2023b"
|
||||||
ovafile="$HOME/Téléchargements/debian-bullseye-gsb-${ovarelease}.ova"
|
#ovafile="$HOME/Téléchargements/debian-bullseye-gsb-${ovarelease}.ova"
|
||||||
|
ovafile="$HOME/Téléchargements/debian-bookworm-gsb-${ovarelease}.ova"
|
||||||
ovafilefog="$HOME/Téléchargements/debian-buster-gsb-${ovafogrelease}.ova"
|
ovafilefog="$HOME/Téléchargements/debian-buster-gsb-${ovafogrelease}.ova"
|
||||||
deletemode=0
|
deletemode=0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user