keep stdin open in the ssh leg between host and guest
Thierry Parmentelat [Sat, 11 Apr 2015 16:25:35 +0000 (18:25 +0200)]
system/TestPlc.py

index b61cce2..9853084 100644 (file)
@@ -308,7 +308,7 @@ class TestPlc:
     #command gets run in the plc's vm
     def host_to_guest(self, command):
         ssh_leg = TestSsh(self.vplchostname)
-        return ssh_leg.actual_command(command)
+        return ssh_leg.actual_command(command, keep_stdin=True)
     
     # this /vservers thing is legacy...
     def vm_root_in_host(self):