From 239e59ea12d6427c0ddc9699c63c5bfd3bbabbe7 Mon Sep 17 00:00:00 2001 From: Bill Maxwell Date: Mon, 13 Apr 2015 13:54:01 -0700 Subject: [PATCH] Add all-volumes to parition container Need access to system-docker in os-installer update. --- scripts/dockerimages/scripts/rancheros-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dockerimages/scripts/rancheros-install b/scripts/dockerimages/scripts/rancheros-install index 624987c7..7f005fb3 100755 --- a/scripts/dockerimages/scripts/rancheros-install +++ b/scripts/dockerimages/scripts/rancheros-install @@ -86,7 +86,7 @@ if [ "${FORCE_INSTALL}" != "true" ] && [ "${INSTALL_TYPE}" != "rancher-upgrade" fi if [ "$PARTITION_FLAG" == "true" ]; then - system-docker run --net=host -it --privileged --entrypoint=/scripts/set-disk-partitions ${INSTALL_CONTAINER_IMAGE}:${INSTALLER_VERSION} ${DEVICE} + system-docker run --net=host -it --privileged --entrypoint=/scripts/set-disk-partitions --volumes-from=all-volumes ${INSTALL_CONTAINER_IMAGE}:${INSTALLER_VERSION} ${DEVICE} system-docker start udev fi