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:
parent
79ef2e3437
commit
3e233e10df
1 changed files with 2 additions and 2 deletions
|
@ -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' \
|
||||||
|
|
Loading…
Reference in a new issue