mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Verify the --ip-address option when setting up DNS.
There was a corner case where the value of --ip-address was never verified if you were also setting up DNS. Added this bit of information to the man page too. ticket 399
This commit is contained in:
parent
0ad0f4ba6c
commit
8d235c6b71
@ -598,6 +598,8 @@ def main():
|
||||
|
||||
if options.ip_address and options.ip_address != ip:
|
||||
if options.setup_dns:
|
||||
if not verify_ip_address(options.ip_address):
|
||||
return 1
|
||||
ip = options.ip_address
|
||||
else:
|
||||
print >>sys.stderr, "Error: the hostname resolves to an IP address that is different"
|
||||
|
@ -53,7 +53,7 @@ Configure a self\-signed CA instance for issuing server certificates instead of
|
||||
The fully\-qualified DNS name of this server
|
||||
.TP
|
||||
\fB\-\-ip\-address\fR=\fIIP_ADDRESS\fR
|
||||
The IP address of this server
|
||||
The IP address of this server. If this address does not match the address the host resolves to and --setup-dns is not selected the installation will fail.
|
||||
.TP
|
||||
\fB\-U\fR, \fB\-\-unattended\fR
|
||||
An unattended installation that will never prompt for user input
|
||||
|
Loading…
Reference in New Issue
Block a user