From 874a19050c4361dc8c1c3e98b9d416c558bbbd58 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 4 Sep 2019 15:45:43 +0200 Subject: [PATCH] document that autopkgtest needs an additional entry in /etc/hosts --- mmdebstrap | 1 + 1 file changed, 1 insertion(+) diff --git a/mmdebstrap b/mmdebstrap index ce2b014..ce30464 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2697,6 +2697,7 @@ Example: Preparing a chroot for use with autopkgtest --customize-hook='chroot "$1" useradd --home-dir /home/user --create-home user' --customize-hook='chroot "$1" passwd --delete user' --customize-hook='echo host > "$1/etc/hostname"' + --customize-hook='echo "127.0.0.1 localhost host" > "$1/etc/hosts"' --customize-hook=/usr/share/autopkgtest/setup-commands/setup-testbed =end comment