fix UE start command
This commit is contained in:
@@ -403,7 +403,7 @@ class OaiCiTest():
|
|||||||
#execute additional commands from yaml file after UE attach
|
#execute additional commands from yaml file after UE attach
|
||||||
SSH = sshconnection.SSHConnection()
|
SSH = sshconnection.SSHConnection()
|
||||||
SSH.open(Module_UE.HostIPAddress, Module_UE.HostUsername, Module_UE.HostPassword)
|
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:
|
for startcommand in Module_UE.StartCommands:
|
||||||
cmd = 'echo ' + Module_UE.HostPassword + ' | ' + startcommand
|
cmd = 'echo ' + Module_UE.HostPassword + ' | ' + startcommand
|
||||||
SSH.command(cmd,'\$',5)
|
SSH.command(cmd,'\$',5)
|
||||||
|
|||||||
Reference in New Issue
Block a user