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:
parent
9785c44dd8
commit
e763342091
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user