Fix collect script to capture VM console logs

VM console.log files were moved when we cutover to containers config.
Update collect script accordingly.

Change-Id: Ic430588efd90a8c5df41dc7c32724d7bacd88bcd
Partial-Bug: 1835567
Signed-off-by: Gerry Kopec <gerry.kopec@windriver.com>
This commit is contained in:
Gerry Kopec 2019-08-02 00:50:12 -04:00
parent 8b43538c09
commit f9de7f3c31
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ else
fi
# Add VM console.log
for i in /etc/nova/instances/*/console.log; do
for i in /var/lib/nova/instances/*/console.log; do
if [ -e "$i" ]; then
tmp=`dirname $i`
mkdir -p ${COLLECT_NAME_DIR}/$tmp