[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956570: should offer possibilities to override host /etc/resolv.conf and /etc/hostname



Hi,

Marc Haber <mh+debian-packages@zugschlus.de> (2020-04-13):
> in the current version, debootstrap copies /etc/resolv.conf and
> /etc/hostname from the host to the newly installed system. This is
> possibly wrong if done during a system installation or from a rescue
> system. Please offer an option to not copy /etc/resolv.conf (the
> installed system might not have network at all) and to set the
> hostname from debootstrap's command line or an environment variable.
> 
> I am willing to provide a patch if you indicate willingness to review
> and apply the patch.

I'm not convinced it's worth it; passing a --no-resolv-conf-copy option
vs. rm target/etc/resolv.conf? And the hostname is a sed call away…


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: