1
0
mirror of https://github.com/rancher/os.git synced 2025-07-15 07:41:39 +00:00

Merge pull request #169 from cloudnautique/rancheros_installer_tweak

Add all-volumes to parition container
This commit is contained in:
Bill Maxwell 2015-04-14 15:57:23 -07:00
commit 25681a1d72

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