fix UE start command

This commit is contained in:
hardy
2021-10-15 07:00:31 +02:00
parent 92e286ecae
commit 972b9847ea
+1 -1
View File
@@ -403,7 +403,7 @@ class OaiCiTest():
#execute additional commands from yaml file after UE attach
SSH = sshconnection.SSHConnection()
SSH.open(Module_UE.HostIPAddress, Module_UE.HostUsername, Module_UE.HostPassword)
if hasattr(Module_UE,StartCommands):
if hasattr(Module_UE,'StartCommands'):
for startcommand in Module_UE.StartCommands:
cmd = 'echo ' + Module_UE.HostPassword + ' | ' + startcommand
SSH.command(cmd,'\$',5)