1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 13:17:17 +00:00

changed for new image name

This commit is contained in:
Bill Maxwell
2015-03-19 14:47:37 -07:00
parent 4e668e6e30
commit 2310287893

View File

@@ -23,6 +23,7 @@ EOF
PARTITION_FLAG="false" PARTITION_FLAG="false"
INSTALLER_VERSION="latest" INSTALLER_VERSION="latest"
EXTRA_ARGS= EXTRA_ARGS=
INSTALL_CONTAINER_IMAGE="rancher/os"
while getopts "c:d:ft:v:h" OPTION while getopts "c:d:ft:v:h" OPTION
do do
@@ -73,10 +74,10 @@ if [ "${FORCE_INSTALL}" != "true" ] && [ "${INSTALL_TYPE}" != "rancher-upgrade"
fi fi
if [ "$PARTITION_FLAG" == "true" ]; then if [ "$PARTITION_FLAG" == "true" ]; then
system-docker run --net=host -it --privileged --entrypoint=/scripts/set-disk-partitions rancher/os-installer:${INSTALLER_VERSION} ${DEVICE} system-docker run --net=host -it --privileged --entrypoint=/scripts/set-disk-partitions ${INSTALL_CONTAINER_IMAGE}:${INSTALLER_VERSION} ${DEVICE}
system-docker start udev system-docker start udev
fi fi
system-docker run --volumes-from=user-volumes --net=host -it --privileged rancher/os-installer:${INSTALLER_VERSION} -d ${DEVICE} -t ${INSTALL_TYPE} ${EXTRA_ARGS} system-docker run --volumes-from=user-volumes --net=host -it --privileged ${INSTALL_CONTAINER_IMAGE}:${INSTALLER_VERSION} -d ${DEVICE} -t ${INSTALL_TYPE} ${EXTRA_ARGS}
echo "RancherOS has been installed. Please reboot..." echo "RancherOS has been installed. Please reboot..."