Feature #18538
closedInstaller should have a better default for --foreman-proxy-dns-reverse
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1422620
Description of problem:
If you look at the help for the installer, you can see what the defaults are for the options. Looking at the default for dhcp-option-domain, that gets set based on your environment. However, looking at the dns-reverse, it has a default that doesn't get adjusted based on your system.
- satellite-installer --help | grep -ie dhcp-option -ie dns-reverse
--foreman-proxy-dhcp-option-domain DHCP use the dhcpd config option domain-name (default: ["usersys.redhat.com"])
--foreman-proxy-dns-reverse DNS reverse zone name (default: "100.168.192.in-addr.arpa") - ip a | grep -e 192 -ie 10
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
inet 10.10.181.147/21 brd 10.10.183.255 scope global dynamic eth0
[root@ex403 ~]#
Version-Release number of selected component (if applicable):
6.2.7
How reproducible:
100%
Steps to Reproduce:
1. run the satellite-installer --help command
2. look for dns-reverse
3.
Actual results:
It always has a default of 100.168.192.in-addr.arpa no matter what your networking is.
Expected results:
The default should get based on what your default route is. For systems with more than one nic, that might not be what gets used, but at least it has a chance of being a useful default.
Additional info: