From 75311da7d1e35a4fafca30ea76a5fca37256d410 Mon Sep 17 00:00:00 2001 From: Fred LE MEUR Date: Fri, 8 Mar 2024 09:03:26 +0100 Subject: [PATCH 1/1] =?utf8?q?Valid=C3=A9=20!?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit D'après `man mmdebstrap` même si `shellcheck` lève un avertissement. --- source/machine/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/machine/index.rst b/source/machine/index.rst index 01d1452..0713fb8 100644 --- a/source/machine/index.rst +++ b/source/machine/index.rst @@ -154,8 +154,8 @@ Les données persistent dans un système de fichiers export NM=cnt0 ; https_proxy=http://10.0.2.2:3128 mmdebstrap \ bookworm . https://deb.debian.org/debian \ --include=systemd-container,network-manager,sudo,ca-certificates \ - --customize-hook="echo $NM > $1/etc/hostname" \ - --customize-hook="echo 127.0.1.1 $NM >> $1/etc/hosts" + --customize-hook='echo "$NM" > "$1"/etc/hostname' \ + --customize-hook='echo 127.0.1.1 "$NM" >> "$1"/etc/hosts' Prendre connaissance des affichages -- 2.39.5