FreeIPA replica: don't re-do setup_tap_static after deployment

ipa-replica-install already changes the DNS config to use the
local bind instance, we don't need to do this and it's actually
wrong (as it bypasses the local BIND we should use and uses
the VM host's DNS servers instead).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-09-18 13:43:28 -07:00
parent fba3a3a290
commit aab6935707

View File

@ -66,11 +66,6 @@ sub run {
}
assert_script_run "ipa-replica-install $args", 1500;
# don't use the other server for our DNS lookups any more, as we
# should be independent of it
my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));
setup_tap_static($ip, $hostname);
# enable and start the systemd service
assert_script_run "systemctl enable ipa.service";
assert_script_run "systemctl start ipa.service", 300;