1
0
mirror of https://github.com/rancher/os.git synced 2025-07-05 02:56:13 +00:00

Add all-volumes to parition container

Need access to system-docker in os-installer update.
This commit is contained in:
Bill Maxwell 2015-04-13 13:54:01 -07:00
parent ca233bef5d
commit 239e59ea12

View File

@ -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