- export NM=cnt0 ; mmdebstrap bullseye \
- --include=systemd-container,network-manager,sudo \
- --customize-hook='echo "$NM" > "$1/etc/hostname"' \
- --customize-hook='echo "127.0.1.1 $NM" >> "$1/etc/hosts"' \
- .
+ 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'