From 3e233e10dfe414e43b31d328eecb0c776afc2ec3 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sun, 28 Jan 2024 17:21:33 +0100 Subject: [PATCH] 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 --- mmdebstrap-autopkgtest-build-qemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdebstrap-autopkgtest-build-qemu b/mmdebstrap-autopkgtest-build-qemu index 2a70ecd..5684cbe 100755 --- a/mmdebstrap-autopkgtest-build-qemu +++ b/mmdebstrap-autopkgtest-build-qemu @@ -324,8 +324,8 @@ test "$RELEASE" = jessie && set -- "$@" \ "--include=init,linux-image-$ARCHITECTURE,python3" \ - '--customize-hook=echo autopkgtestvm >"$1/etc/hostname"' \ - '--customize-hook=echo 127.0.0.1 localhost autopkgtestvm >"$1/etc/hosts"' \ + '--customize-hook=echo host >"$1/etc/hostname"' \ + '--customize-hook=echo 127.0.0.1 localhost host >"$1/etc/hosts"' \ '--customize-hook=passwd --root "$1" --delete root' \ '--customize-hook=useradd --root "$1" --home-dir /home/user --create-home user' \ '--customize-hook=passwd --root "$1" --delete user' \