mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
lf_check.py : the \\n removed may need to add back in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -116,9 +116,9 @@ class lf_check():
|
|||||||
#command = 'echo "$HOSTNAME mail system works!" | mail -s "Test: $HOSTNAME $(date)" chuck.rekiere@candelatech.com'
|
#command = 'echo "$HOSTNAME mail system works!" | mail -s "Test: $HOSTNAME $(date)" chuck.rekiere@candelatech.com'
|
||||||
hostname = socket.gethostname()
|
hostname = socket.gethostname()
|
||||||
ip = socket.gethostbyname(hostname)
|
ip = socket.gethostbyname(hostname)
|
||||||
message_txt = """Results from {hostname}:\\n
|
message_txt = """Results from {hostname}:
|
||||||
http://{ip}/{report}\\n
|
http://{ip}/{report}
|
||||||
NOTE: for now to see stdout and stderr remove /home/lanforge from path.\\n
|
NOTE: for now to see stdout and stderr remove /home/lanforge from path.
|
||||||
""".format(hostname=hostname, ip=ip, report=report_url)
|
""".format(hostname=hostname, ip=ip, report=report_url)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user