Shut up warning about resolv.conf missing

This commit is contained in:
Eelco Dolstra 2014-04-19 12:34:59 +02:00
parent fa1a46a01c
commit 2a64b0a91b

View File

@ -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