document that autopkgtest needs an additional entry in /etc/hosts

This commit is contained in:
Johannes 'josch' Schauer 2019-09-04 15:45:43 +02:00
parent c8a3f053d7
commit 874a19050c
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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" useradd --home-dir /home/user --create-home user'
--customize-hook='chroot "$1" passwd --delete user' --customize-hook='chroot "$1" passwd --delete user'
--customize-hook='echo host > "$1/etc/hostname"' --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 --customize-hook=/usr/share/autopkgtest/setup-commands/setup-testbed
=end comment =end comment