git: installer(8): Avoid prompting for hostname and domain twice
Aaron LI
aly at crater.dragonflybsd.org
Mon Feb 23 23:29:54 PST 2026
commit da82167d22fc7cc077088d22e766202baa43377c
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/da82167d22fc7cc077088d22e766202baa43377c
--
DragonFly BSD source repository
More information about the Commits
mailing list