mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
cleanups
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user