Shut up warning about resolv.conf missing
This commit is contained in:
parent
fa1a46a01c
commit
2a64b0a91b
@ -144,6 +144,8 @@ fi
|
||||
# Use /etc/resolv.conf supplied by systemd-nspawn, if applicable.
|
||||
if [ -n "@useHostResolvConf@" -a -e /etc/resolv.conf ]; then
|
||||
cat /etc/resolv.conf | resolvconf -m 1000 -a host
|
||||
else
|
||||
touch /etc/resolv.conf
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user