]> fred1m.tech Git - papier-crayon.git/commitdiff
Après la mise en place de "FStrom" :[ main
authorFred LE MEUR <frederic.le-meur@ac-versailles.fr>
Wed, 18 Mar 2026 13:41:51 +0000 (14:41 +0100)
committerFred LE MEUR <frederic.le-meur@ac-versailles.fr>
Wed, 18 Mar 2026 13:41:51 +0000 (14:41 +0100)
Le service "apt-cacher-ng" est localisé dans `tjener`

source/machine/FS-mmdebstrap.rst

index 1780d07d36f1d8c6fa9adb552254839fd2613dac..47d3d8f94f581b9e8c5157a5ef74734570e531ed 100644 (file)
@@ -42,7 +42,7 @@ Initialiser un système de fichier supplémentaire
 
 .. warning::
 
-   changer ``cnt0`` !
+   changer ``cnt1`` !
 
 ::
 
@@ -54,11 +54,14 @@ Initialiser un système de fichier supplémentaire
 
    pwd ; mkdir SiBesoin ; cd commeIlFaut
 
-   http_proxy=http://172.20.100.242:3142 mmdebstrap \
-    trixie . http://deb.debian.org/debian \
-    --include=systemd-container,network-manager,sudo,ca-certificates \
-    --customize-hook='echo cnt0 > "$1"/etc/hostname' \
-    --customize-hook='echo 127.0.1.1 cnt0 >> "$1"/etc/hosts'
+   http_proxy=http://10.0.2.2:3142 mmdebstrap \
+   trixie . http://deb.debian.org/debian \
+   --include=systemd-container,network-manager,sudo,ca-certificates \
+   --customize-hook='echo cnt1 > "$1"/etc/hostname' \
+   --customize-hook='echo 127.0.1.1 cnt1 >> "$1"/etc/hosts' \
+   --customize-hook='echo Acquire::http::Proxy \"http://10.0.2.2:3142\"\; \
+    >> "$1"/etc/apt/apt.conf.d/04apt-cacher-ng-proxy'
+
 
 .. tip::