1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00
This commit is contained in:
Ivan Mikushin
2015-06-29 23:32:36 +05:00
parent da2b12d840
commit c3bbd8886c
3 changed files with 20 additions and 21 deletions

View File

@@ -41,7 +41,6 @@ chmod +x ${INITRD_DIR}/docker #ini
ln -sf bin/rancheros ./ros
for i in $(./ros c images -i os-config.yml); do
docker pull ${i}:${VERSION}
docker tag -f ${i}:${VERSION} ${i}
docker pull ${i}
done
docker save $(./ros c images -i os-config.yml) > ${INITRD_DIR}/images.tar #initrd2-images: /images.tar

View File

@@ -66,7 +66,7 @@ find | cpio -H newc -o > ${INITRD_TEST}
if [ ! -e ${HD} ]; then
mkdir -p $(dirname ${HD})
gzcat ${HD_GZ} > ${HD}
gzip -dc ${HD_GZ} > ${HD}
fi
mkdir -p $(dirname $USER_DATA)