updated start proto to return exception strings, updated grpc start session to exist early when a failure is found, updated coretk ui to not switch ui to running when start fails and display error dialog
This commit is contained in:
parent
5639aeab75
commit
6d68034177
8 changed files with 70 additions and 36 deletions
|
@ -8,7 +8,7 @@ from core import constants, utils
|
|||
from core.errors import CoreCommandError
|
||||
from core.nodes import ipaddress
|
||||
from core.nodes.ipaddress import Ipv4Prefix, Ipv6Prefix
|
||||
from core.services.coreservices import CoreService
|
||||
from core.services.coreservices import CoreService, ServiceMode
|
||||
|
||||
|
||||
class UtilService(CoreService):
|
||||
|
@ -173,6 +173,7 @@ class SshService(UtilService):
|
|||
startup = ("sh startsshd.sh",)
|
||||
shutdown = ("killall sshd",)
|
||||
validate = ()
|
||||
validation_mode = ServiceMode.BLOCKING
|
||||
|
||||
@classmethod
|
||||
def generate_config(cls, node, filename):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue