Generate /run/resolvconf/resolv.conf when using resolvconf
When using resolvconf, writing the resolv.conf settings into
/etc/resolvconf/resolv.conf.d/base
is not enough. /etc/resolv.conf
pointing to /run/resolvconf/resolv.conf
will stay empty.
So in addition to copying resolv.conf into
/etc/resolvconf/resolv.conf.d/base
, generate
/run/resolvconf/resolv.conf
by adding the head and tail.
Closes: #988496