Skip to content

Commit

Permalink
Remove duplicate invocation and enable webserver
Browse files Browse the repository at this point in the history
For no obvious reason, the configure proxy script is invoked twice. Also
it would be nice to explicitly enable the webserver so the generated
image is usable after boot.
  • Loading branch information
baierjan committed Nov 15, 2024
1 parent 85236a1 commit af68509
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/install/openqa_webui.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ sub install_from_pkgs {
assert_script_run "/usr/share/openqa/script/configure-web-proxy $proxy_args";
if (check_var('OPENQA_WEB_PROXY', 'nginx')) {
assert_script_run 'systemctl disable --now apache2';
assert_script_run 'systemctl enable nginx';
assert_script_run 'systemctl restart nginx';
}
else {
assert_script_run '/usr/share/openqa/script/configure-web-proxy';
assert_script_run 'systemctl enable apache2';
assert_script_run 'systemctl restart apache2';
}
assert_script_run($_) foreach (split /\n/, <<~'EOF');
Expand Down

0 comments on commit af68509

Please sign in to comment.