regression_test: Fix system information table

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-07 14:48:57 -08:00
parent 4aa44b0eb4
commit bf6ee97298

View File

@@ -79,9 +79,9 @@ fi
PYTHON_VERSION=$(python3 -c 'import sys; print(sys.version)')
BuildVersion=$(wget $MGR:8080 -q -O - jq '.VersionInfo.BuildVersion')
BuildDate=$(wget $MGR:8080 -q -O - jq '.VersionInfo.BuildDate')
OS_Version=$(echo /etc/os-release | grep 'VERSION')
BuildVersion=$(wget $MGR:8080 -q -O - | jq '.VersionInfo.BuildVersion')
BuildDate=$(wget $MGR:8080 -q -O - | jq '.VersionInfo.BuildDate')
OS_Version=$(cat /etc/os-release | grep 'VERSION=')
HOSTNAME=$(cat /etc/hostname)
#SCENARIO_CHECK="$(python3 -c "import requests; print(requests.get('http://${MGR}:8080/events/').status_code)")"
@@ -672,6 +672,7 @@ td.testname {
<th>LANforge version</th>
<th>LANforge build date</th>
<th>OS Version</th>
<th>Hostname</th>
</tr>
</thead>
<tbody>