git: DragonFly_RELEASE_6_4 installer(8): Avoid prompting for hostname and domain twice
Aaron LI
aly at crater.dragonflybsd.org
Tue Feb 24 03:38:37 PST 2026
commit ee874043545948b724ee281e662dfcda1e363633
Author: Aaron LI <aly at aaronly.me>
Date: Thu Feb 19 14:51:27 2026 +0800
installer(8): Avoid prompting for hostname and domain twice
During the manual IP configuration, the installer prompted for the
hostname and domain. Later, the main configuration menu prompted for
them again.
Retrieve the hostname and domain from rc_conf/resolv_conf variables, and
pre-populate the form fields to avoid the duplicate prompts.
In addition, pre-populate the DNS server field from resolv_conf vars.
Fix bug #3383.
Bug: https://bugs.dragonflybsd.org/issues/3383
Reported-by: Nelson H. F. Beebe
Summary of changes:
usr.sbin/installer/dfuibe_installer/fn_configure.c | 61 ++++++++++++++++------
1 file changed, 46 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ee874043545948b724ee281e662dfcda1e363633
--
DragonFly BSD source repository
More information about the Commits
mailing list