projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5814d3
)
The base.sh script that is run by Packer should abort when it encounters
author
Ward Vandewege <ward@curii.com>
Wed, 23 Feb 2022 19:06:13 +0000
(14:06 -0500)
committer
Ward 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
patch
|
blob
|
history
diff --git
a/tools/compute-images/scripts/base.sh
b/tools/compute-images/scripts/base.sh
index fa34bc5b64cbc061e7013ede5098ee4ac71845aa..90b845f1ac8a30c0a0b30edb6d5361557085a374 100644
(file)
--- a/
tools/compute-images/scripts/base.sh
+++ b/
tools/compute-images/scripts/base.sh
@@
-4,6
+4,8
@@
#
# SPDX-License-Identifier: Apache-2.0
+set -eu -o pipefail
+
SUDO=sudo
wait_for_apt_locks() {