Compare commits

...

6 Commits

Author SHA1 Message Date
sio user
9f99511968 gsb-start... 2023-12-21 15:06:38 +01:00
sio user
cceccda12b comment syslog-cli 2023-12-21 14:46:12 +01:00
sio user
36a6850a52 MAJ pour bookworm 2023-12-21 14:37:43 +01:00
sio user
d14bf44b2b Modif Nom VM dans mkvm 2023-12-21 14:23:29 +01:00
sio user
a4fd46609d scripts de debian11 vers niv. sup. 2023-12-19 14:01:12 +01:00
sio user
1b2c6a9220 README + mkmaster ... 2023-12-19 13:54:29 +01:00
11 changed files with 29 additions and 26 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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

View 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

View 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

View File

@@ -9,6 +9,6 @@
- squid - squid
# - local-store # - local-store
- snmp-agent - snmp-agent
- syslog-cli #- syslog-cli
- post - post
# - goss # - goss

View File

@@ -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 ../..

View File

@@ -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