The base.sh script that is run by Packer should abort when it encounters
authorWard Vandewege <ward@curii.com>
Wed, 23 Feb 2022 19:06:13 +0000 (14:06 -0500)
committerWard Vandewege <ward@curii.com>
Wed, 23 Feb 2022 19:57:09 +0000 (14:57 -0500)
any errors.

refs #18772

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

tools/compute-images/scripts/base.sh

index fa34bc5b64cbc061e7013ede5098ee4ac71845aa..90b845f1ac8a30c0a0b30edb6d5361557085a374 100644 (file)
@@ -4,6 +4,8 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
+set -eu -o pipefail
+
 SUDO=sudo
 
 wait_for_apt_locks() {