mirror of
https://github.com/rancher/os.git
synced 2025-06-23 05:27:03 +00:00
13 lines
283 B
Bash
13 lines
283 B
Bash
|
#!/bin/bash
|
||
|
set -ex
|
||
|
|
||
|
cd $(dirname $0)/..
|
||
|
|
||
|
ln -sf bin/rancheros ./ros
|
||
|
|
||
|
for i in `./ros c images -i os-config.yml`; do
|
||
|
[ "${FORCE_PULL}" != "1" ] && docker inspect $i >/dev/null 2>&1 || docker pull $i;
|
||
|
done
|
||
|
|
||
|
docker save `./ros c images -i os-config.yml` > ${INITRD_DIR}/images.tar
|