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-10 18:54:12 +00:00
parent 9785c44dd8
commit e763342091
+1
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