Skip to content

Commit

Permalink
add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
narrieta committed May 18, 2023
1 parent 4cc6088 commit 4f2ae33
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests_e2e/orchestrator/scripts/install-agent
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,21 @@ if service-status walinuxagent > /dev/null 2>&1;then
else
service_name="waagent"
fi
echo "Service name: $service_name"

#
# Output the initial version of the agent
#
python=$(get-agent-python)
waagent=$(get-agent-bin-path)
echo "Agent's path: $waagent"

echo "============================================================"
echo "Service Name: $service_name"
echo "Agent Path: $waagent"
echo "Agent Version:"
$python "$waagent" --version
printf "\n"
echo "Service Status:"
service-status $service_name
echo "============================================================"

#
# Install the package
Expand Down

0 comments on commit 4f2ae33

Please sign in to comment.