D'après `man mmdebstrap` même si `shellcheck` lève un avertissement.
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 \
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
Prendre connaissance des affichages