1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

Autoload the predefined user images

This commit is contained in:
niusmallnan
2019-05-16 14:11:17 +08:00
committed by niusmallnan
parent 6e6f7f38d7
commit 679fc1a208
3 changed files with 18 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ for i in ${IMAGES}; do
done
for i in ${APPEND_USER_IMAGES}; do
if ! docker inspect $i >/dev/null 2>&1; then
docker pull ${i}
fi
USER_IMAGES="${USER_IMAGES} ${i}"
done