mirror of
https://github.com/rancher/os.git
synced 2025-07-05 11:06:13 +00:00
Add all-volumes to parition container
Need access to system-docker in os-installer update.
This commit is contained in:
parent
ca233bef5d
commit
239e59ea12
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user