[ARVADOS] updated: 1.3.0-2827-gaeb4a79c5
Git user
git at public.arvados.org
Wed Jul 29 15:09:50 UTC 2020
Summary of changes:
.../scripts/usr-local-bin-ensure-encrypted-partitions.sh | 7 +++++++
1 file changed, 7 insertions(+)
via aeb4a79c5f5eb2fd20603a16edffa0a1a0c9aef3 (commit)
from 43baa8f0cca640afc2934e6e65f51e5465e0ec88 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit aeb4a79c5f5eb2fd20603a16edffa0a1a0c9aef3
Author: Ward Vandewege <ward at curii.com>
Date: Wed Jul 29 11:09:24 2020 -0400
16616: make sure that docker uses the large partition on the compute
nodes.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh b/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh
index b24e437f0..08579bf19 100644
--- a/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh
+++ b/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh
@@ -130,6 +130,13 @@ MOUNTOPTIONS="async"
mount -o ${MOUNTOPTIONS} "$CRYPTPATH" "$MOUNTPATH"
chmod a+w,+t "$MOUNTPATH"
+# Make sure docker uses the big partition
+cat <<EOF > /etc/docker/daemon.json
+{
+ "data-root": "$MOUNTPATH/docker-data"
+}
+EOF
+
# restart docker
if [ -d /etc/sv/docker.io ]
then
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list