mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-16 23:38:36 +00:00
[Update] 支持Windows批量命令2
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user