Skip to content

Conversation

@LunfanZhang
Copy link
Contributor

@LunfanZhang LunfanZhang commented Dec 24, 2025

  • Align XSConsole's SSH status display with XAPI's ssh-enabled logic. Previously, XSConsole showed the boot persistence status (enabled/disabled), leading to confusion with XAPI's configuration. The UI now displays the actual service state to correctly indicate if the server can accept SSH connections
  • refine the message when enable auto_mode

Signed-off-by: Lunfan Zhang[Lunfan.Zhang] <[email protected]>

(status, output) = getstatusoutput("systemctl is-active %s" % (service,))
if 'service_active' not in self.data:
self.data['service_active'] = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about moving the initialization of data['service_active'] to the line 368 to align with the initialization of data['chkconfig']?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants