AWS: Fix console screenshot retrieval
The JSON from AWS was not being passed to `jq` and the console
screenshots were empty. 🤦
Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
904335cc94
commit
bc2a91a688
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ store_instance_screenshot () {
|
|||
SCREENSHOT_FILE=${WORKSPACE}/console-screenshot-${ID}-${VERSION_ID}-${LOOP_COUNTER}.jpg
|
||||
|
||||
$AWS_CMD ec2 get-console-screenshot --instance-id ${1} > $INSTANCE_CONSOLE
|
||||
jq -r '.ImageData' | base64 -d - > $SCREENSHOT_FILE
|
||||
jq -r '.ImageData' $INSTANCE_CONSOLE | base64 -d - > $SCREENSHOT_FILE
|
||||
}
|
||||
|
||||
# Write an AWS TOML file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue