File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use warnings;
1111use base " consoletest" ;
1212use testapi;
1313use utils;
14- use version_utils qw( has_selinux) ;
14+ use version_utils qw( has_selinux is_leap ) ;
1515
1616sub run {
1717 select_console ' root-console' ;
@@ -24,7 +24,8 @@ sub run {
2424 if (has_selinux) {
2525 script_run(' setsebool -P httpd_can_network_connect 1' );
2626 }
27- zypper_call(' in openQA-bootstrap' );
27+ if (is_leap) { assert_script_run(' curl -L curl -L https://raw.githubusercontent.com/os-autoinst/openQA/refs/heads/master/script/openqa-bootstrap -o /usr/share/openqa/script/test_bootstrap' ); }
28+ else { zypper_call(' in openQA-bootstrap' ); }
2829 my $proxy_var = get_var(' OPENQA_WEB_PROXY' ) ? ' setup_web_proxy=' . get_var(' OPENQA_WEB_PROXY' ) . ' ' : ' ' ;
2930 assert_script_run($proxy_var . " /usr/share/openqa/script/openqa-bootstrap" , 4000);
3031}
You can’t perform that action at this time.
0 commit comments