773f06aa16
1. Fixed the bug where the browbeat_run.log file is empty. 2. UUID will now be grepped from the log file directly. Bypassing an ansible issue that made grepping it directly from the registered result impossible in specific situations. Change-Id: Icc0bfb18d0491622d523d30412674f2cd62e80e9
6 lines
100 B
Bash
6 lines
100 B
Bash
#!/bin/bash
|
|
|
|
grep -o 'UUID: [^,]*' $1 | tail -1 | grep -o ' [^,]*' | tr -d ' ' | sed 's/\x27/ /g'
|
|
|
|
|