# WE do not store the password when sending commands for secuirity reasons. The password might be accidentally logged in such cases.
# WE do not store the password when sending commands for secuirity reasons. The password might be accidentally logged in such cases.
#The password is used only to make ssh connections. In case user wants to run programs with sudo, then he/she needs to add following line in /etc/sudoers
#The password is used only to make ssh connections. In case user wants to run programs with sudo, then he/she needs to add following line in /etc/sudoers
# your_user_name ALL=(ALL:ALL) NOPASSWD: ALL
# your_user_name ALL=(ALL:ALL) NOPASSWD: ALL
...
@@ -113,7 +116,9 @@ class openair(core):
...
@@ -113,7 +116,9 @@ class openair(core):
printerror
printerror
print"Retrying again in 1 seconds"
print"Retrying again in 1 seconds"
time.sleep(1)
time.sleep(1)
#sys.exit(1)
ifi==max_retries:
print"Fatal Error: Terminating the program now..."