mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-17 00:11:42 +00:00
[Update] 支持Windows批量命令2
This commit is contained in:
parent
1d30c1900d
commit
f063832bc6
@ -63,7 +63,7 @@ class CommandExecution(models.Model):
|
||||
if ok:
|
||||
runner = CommandRunner(self.inventory)
|
||||
try:
|
||||
host = self.hosts[0]
|
||||
host = self.hosts.first()
|
||||
if host.is_windows():
|
||||
shell = 'win_shell'
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user