mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +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'
|
||||
hostname = socket.gethostname()
|
||||
ip = socket.gethostbyname(hostname)
|
||||
message_txt = """Results from {hostname}:\\n
|
||||
http://{ip}/{report}\\n
|
||||
NOTE: for now to see stdout and stderr remove /home/lanforge from path.\\n
|
||||
message_txt = """Results from {hostname}:
|
||||
http://{ip}/{report}
|
||||
NOTE: for now to see stdout and stderr remove /home/lanforge from path.
|
||||
""".format(hostname=hostname, ip=ip, report=report_url)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user