1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-10 05:18:17 +03:00

test: add empty /etc/resolv.conf in test image

Portable services have a BindPath pointing to it, so it needs to
be available in the image
This commit is contained in:
Luca Boccassi 2021-02-02 17:16:41 +00:00
parent 9785c44dd8
commit e763342091

View File

@ -1106,6 +1106,7 @@ install_config_files() {
# we want an empty environment
> $initdir/etc/environment
> $initdir/etc/machine-id
> $initdir/etc/resolv.conf
# set the hostname
echo systemd-testsuite > $initdir/etc/hostname