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

Fix building the iso

This commit is contained in:
Ivan Mikushin
2016-06-13 14:30:21 -07:00
parent 42ef7c062a
commit 9afb667cf4
3 changed files with 7 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ mkdir -p ${ARTIFACTS} ${PREPOP_DIR}
if [ "$(docker info | grep 'Storage Driver: ' | sed 's/Storage Driver: //')" != "overlay" ]; then
echo Overlay storage driver is require do create rootfs.tar 1>&2
exit 0
exit 1
fi
DFS=$(docker run -d --privileged -v /lib/modules/$(uname -r):/lib/modules/$(uname -r) ${DFS_IMAGE}${SUFFIX} ${DFS_ARGS})