mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-23 19:28:29 +00:00
Work around RHBZ #1400293 (breaks IPA tests on Fedora 24)
This commit is contained in:
parent
effd7a6e40
commit
9aed11a77b
@ -54,6 +54,12 @@ sub run {
|
||||
# things running in phx2 cannot reach; we must make sure the phx2
|
||||
# deployments use the phx2 nameservers.
|
||||
assert_script_run 'echo \'{"admin_password":"monkeys123","dns_forwarders":{"ipv4":' . $fourlist . ',"ipv6":' . $sixlist .'}}\' | rolectl deploy domaincontroller --name=domain.local --settings-stdin', 1200;
|
||||
# FIXME: workaround for RHBZ #1400293 on Fedora 24. Can be removed
|
||||
# when Firefox is fixed.
|
||||
my $release = lc(get_var('VERSION'));
|
||||
if ($release ne "rawhide" && $release < 25) {
|
||||
assert_script_run 'ipa-getcert resubmit -d /etc/httpd/alias -n Server-Cert -D $( uname -n )';
|
||||
}
|
||||
# check the role status, should be 'running'
|
||||
validate_script_output 'rolectl status domaincontroller/domain.local', sub { $_ =~ m/^running/ };
|
||||
# check the admin password is listed in 'settings'
|
||||
|
Loading…
Reference in New Issue
Block a user