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

Reduce the memory consumption at startup (#2247)

Offline image is automatically loaded when the system boots.
When the system memory is not large enough (such as 1G), will lead to
kernel panic.
This commit is contained in:
niusmallnan 2018-02-05 17:43:39 +08:00 committed by GitHub
parent 22cac7abed
commit 8cda43a68a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,8 @@ RUN echo "Acquire::http { Proxy \"$APTPROXY\"; };" >> /etc/apt/apt.conf.d/01prox
vim \
wget \
xorriso \
telnet
xz-utils \
telnet
########## Dapper Configuration #####################

View File

@ -13,5 +13,5 @@ for i in $IMAGES; do
done
echo "tar-images: docker save ${IMAGES} > build/images.tar"
docker save ${IMAGES} > build/images.tar
docker save ${IMAGES} | xz > build/images.tar
echo "tar-images: DONE"