1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

Simplify condition for disabling dnssec on FreeIPA upgrade test

We don't need the release number part any more, it's always
more than 34.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-12-13 10:00:33 -08:00
parent 729796730f
commit fecf4ea595

View File

@ -34,10 +34,10 @@ sub run {
assert_script_run "systemctl restart firewalld.service";
# deploy the server
my $args = "-U --auto-forwarders --realm=TEST.OPENQA.FEDORAPROJECT.ORG --domain=test.openqa.fedoraproject.org --ds-password=monkeys123 --admin-password=monkeys123 --setup-dns --reverse-zone=2.16.172.in-addr.arpa --allow-zone-overlap";
# FIXME: For upgrades to F>34, we turn off dnssec to avoid hitting
# FIXME: For upgrades, we turn off dnssec to avoid hitting
# #1999321
my $relnum = get_release_number;
$args .= ' --no-dnssec-validation' if (get_var("UPGRADE") && $relnum > 34);
$args .= ' --no-dnssec-validation' if (get_var("UPGRADE"));
assert_script_run "ipa-server-install $args", 1200;
# enable and start the systemd service