mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 18:36:37 +08:00
fix
This commit is contained in:
parent
36366a9e3c
commit
20d57f45db
@ -82,7 +82,8 @@ class RemoteControl:
|
||||
|
||||
if command.startswith("ssh"):
|
||||
head, tail = command.split(' ', 1)
|
||||
slices = [head, "-oStrictHostKeyChecking=no", "-i", self.__ssh_key, tail]
|
||||
flags = "-oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oLogLevel=ERROR"
|
||||
slices = [head, flags, "-i", self.__ssh_key, tail]
|
||||
command = ' '.join(slices)
|
||||
|
||||
process = await asyncio.create_subprocess_shell(
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
div.host[state='online'] button.remote-action[action='WAKE'],
|
||||
div.host[state='offline'] button.remote-action[action='SHUTDOWN'],
|
||||
div.host[state='unknown'] button.remote-action {
|
||||
div.host:is([state='unknown'], [state='error']) button.remote-action {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.host[state='unknown'] div.remote-actions::before {
|
||||
div.host:is([state='unknown'], [state='error']) div.remote-actions::before {
|
||||
content: "⏳";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user