1.1 --- a/OpenSecurity/bin/vmmanager.py Wed Jan 29 14:18:17 2014 +0100
1.2 +++ b/OpenSecurity/bin/vmmanager.py Wed Jan 29 14:25:20 2014 +0100
1.3 @@ -11,10 +11,15 @@
1.4 import re
1.5 import _winreg
1.6 from cygwin import Cygwin
1.7 +from environment import Environment
1.8 import threading
1.9 import time
1.10 import string
1.11
1.12 +import shutil
1.13 +import stat
1.14 +import tempfile
1.15 +
1.16
1.17 DEBUG = True
1.18 class VMManagerException(Exception):
1.19 @@ -515,7 +520,7 @@
1.20 # run command
1.21 #--login
1.22 #cmd = self.cygwin_path+'bash.exe --login -c \"DISPLAY=:0 ssh -v -Y -i \\\"' + machineFolder + '\\' + vm_name + '\\dvm_key\\\" ' + user_name + '@' + address + ' ' + prog + '\"'
1.23 - cmd = self.cygwin_path+'mintty.exe -e /bin/env DISPLAY=:0 /usr/bin/ssh -v -Y -i \"' + machineFolder + '\\' + vm_name + '\\dvm_key\" ' + user_name + '@' + address + ' ' + prog + ''
1.24 + cmd = self.cygwin_path+'mintty.exe -e /bin/env DISPLAY=:0 /usr/bin/ssh -o StrictHostKeyChecking=no -v -Y -i \"' + machineFolder + '\\' + vm_name + '\\dvm_key\" ' + user_name + '@' + address + ' ' + prog + ''
1.25 #cmd = self.cygwin_path+'mintty.exe -e /bin/bash --login -c \"DISPLAY=:0 /usr/bin/ssh -v -Y -i \\\"' + machineFolder + '\\' + vm_name + '\\dvm_key\\\" ' + user_name + '@' + address + ' ' + prog + '\"'
1.26 if DEBUG:
1.27 print('trying to launch: ' + cmd)
1.28 @@ -610,4 +615,4 @@
1.29
1.30 #cmd = "c:\\cygwin64\\bin\\bash.exe --login -c \"/bin/ls\""
1.31 #man.execute(cmd)
1.32 -
1.33 \ No newline at end of file
1.34 +