forked from josch/mmdebstrap
document that autopkgtest needs an additional entry in /etc/hosts
This commit is contained in:
parent
c8a3f053d7
commit
874a19050c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue