1#!/bin/bash 2# Copyright 2021 The Chromium OS Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6if ! timeout --foreground 180s ${0%/*}/wait_for_vm; then 7 echo "" 8 echo "Timeout while waiting for VM (See 'screen -r vm' or vm.log in sponge)" 9 exit 1 10fi 11