Skip to content

Commit 92c5f9b

Browse files
committed
Log peak ramdisk usage of node-image-pull
1 parent 5b77c05 commit 92c5f9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ ostree checkout --repo "${ostree_repo}" ${hardlink} coreos/node-image "${ostree_
8585

8686
# in the assisted-installer case, nuke the temporary repo to save RAM
8787
if grep -q coreos.liveiso= /proc/cmdline; then
88+
df -h "${ostree_repo}"
8889
echo "Deleting temporary repo"
8990
rm -rf "${ostree_repo}"
91+
df -h "${ostree_checkout}"
9092
fi

0 commit comments

Comments
 (0)