Skip to content

Commit

Permalink
Merge pull request #4871 from M4rtinK/master-start_webui_when_webui_i…
Browse files Browse the repository at this point in the history
…s_installed

webui: Start Web UI when the anaconda-webui package is installed
  • Loading branch information
M4rtinK authored Jun 30, 2023
2 parents 288acd2 + 7ce4f97 commit 2698770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/anaconda.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def initInterface(self):

# this boot option is meant to be temporary, so just check it directly
# from kernel boot command line like this
if "webui" in kernel_arguments:
if "webui" in kernel_arguments or os.path.exists("/usr/share/cockpit/anaconda-webui"):
from pyanaconda.ui.webui import CockpitUserInterface
self._intf = CockpitUserInterface(
None,
Expand Down

0 comments on commit 2698770

Please sign in to comment.