mmdebstrap-autopkgtest-build-qemu: make the hostname 'host' as it is done by autopkgtest-build-qemu as it is expected by sbuild-qemu-update and sbuild-qemu-boot

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-01-28 17:21:33 +01:00
parent 79ef2e3437
commit 3e233e10df
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -324,8 +324,8 @@ test "$RELEASE" = jessie &&
set -- "$@" \ set -- "$@" \
"--include=init,linux-image-$ARCHITECTURE,python3" \ "--include=init,linux-image-$ARCHITECTURE,python3" \
'--customize-hook=echo autopkgtestvm >"$1/etc/hostname"' \ '--customize-hook=echo host >"$1/etc/hostname"' \
'--customize-hook=echo 127.0.0.1 localhost autopkgtestvm >"$1/etc/hosts"' \ '--customize-hook=echo 127.0.0.1 localhost host >"$1/etc/hosts"' \
'--customize-hook=passwd --root "$1" --delete root' \ '--customize-hook=passwd --root "$1" --delete root' \
'--customize-hook=useradd --root "$1" --home-dir /home/user --create-home user' \ '--customize-hook=useradd --root "$1" --home-dir /home/user --create-home user' \
'--customize-hook=passwd --root "$1" --delete user' \ '--customize-hook=passwd --root "$1" --delete user' \