1
0
mirror of https://github.com/rancher/os.git synced 2025-07-01 09:11:48 +00:00

Revert "4.9.3"

This commit is contained in:
Sven Dowideit 2017-01-16 09:33:27 +10:00 committed by GitHub
parent 6a1b3697fe
commit 1ca021fc6f
2 changed files with 6 additions and 13 deletions

View File

@ -55,8 +55,7 @@ ARG DOCKER_BUILD_VERSION=1.10.3
ARG DOCKER_BUILD_PATCH_VERSION=v${DOCKER_BUILD_VERSION}-ros1 ARG DOCKER_BUILD_PATCH_VERSION=v${DOCKER_BUILD_VERSION}-ros1
ARG SELINUX_POLICY_URL=https://github.com/rancher/refpolicy/releases/download/v0.0.3/policy.29 ARG SELINUX_POLICY_URL=https://github.com/rancher/refpolicy/releases/download/v0.0.3/policy.29
#ARG KERNEL_URL_amd64=https://github.com/rancher/os-kernel/releases/download/v4.8.17-rancher/linux-4.8.17-rancher-x86.tar.gz ARG KERNEL_URL_amd64=https://github.com/rancher/os-kernel/releases/download/v4.9-rancher2/linux-4.9-rancher2-x86.tar.gz
ARG KERNEL_URL_amd64=https://github.com/rancher/os-kernel/releases/download/v4.9.3-rancher/linux-4.9.3-rancher-x86.tar.gz
ARG KERNEL_URL_arm64=https://github.com/imikushin/os-kernel/releases/download/Estuary-4.4.0-arm64.8/linux-4.4.0-rancher-arm64.tar.gz ARG KERNEL_URL_arm64=https://github.com/imikushin/os-kernel/releases/download/Estuary-4.4.0-arm64.8/linux-4.4.0-rancher-arm64.tar.gz
ARG DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz ARG DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz
@ -73,9 +72,9 @@ ARG OS_SERVICES_REPO=https://raw.githubusercontent.com/${OS_REPO}/os-services
ARG IMAGE_NAME=${OS_REPO}/os ARG IMAGE_NAME=${OS_REPO}/os
ARG DFS_IMAGE=${OS_REPO}/docker:v${DOCKER_VERSION}-2 ARG DFS_IMAGE=${OS_REPO}/docker:v${DOCKER_VERSION}-2
ARG OS_BASE_URL_amd64=https://github.com/rancher/os-base/releases/download/v2016.11.1-1/os-base_amd64.tar.xz ARG OS_BASE_URL_amd64=https://github.com/rancher/os-base/releases/download/v2016.08.1-2/os-base_amd64.tar.xz
ARG OS_BASE_URL_arm64=https://github.com/rancher/os-base/releases/download/v2016.11.1-1/os-base_arm64.tar.xz ARG OS_BASE_URL_arm64=https://github.com/rancher/os-base/releases/download/v2016.08.1-2/os-base_arm64.tar.xz
ARG OS_BASE_URL_arm=https://github.com/rancher/os-base/releases/download/v2016.11.1-1/os-base_arm.tar.xz ARG OS_BASE_URL_arm=https://github.com/rancher/os-base/releases/download/v2016.08.1-2/os-base_arm.tar.xz
###################################################### ######################################################
# Set up environment and export all ARGS as ENV # Set up environment and export all ARGS as ENV

View File

@ -5,7 +5,6 @@ set -e
cd $(dirname $0)/.. cd $(dirname $0)/..
source ./scripts/run-common source ./scripts/run-common
MEMORY=2048
while [ "$#" -gt 0 ]; do while [ "$#" -gt 0 ]; do
case $1 in case $1 in
@ -33,10 +32,6 @@ while [ "$#" -gt 0 ]; do
--second-drive) --second-drive)
SECOND_DRIVE=1 SECOND_DRIVE=1
;; ;;
--memory)
shift 1
MEMORY="$1"
;;
--arch) --arch)
shift 1 shift 1
ARCH="$1" ARCH="$1"
@ -75,7 +70,6 @@ while [ "$#" -gt 0 ]; do
done done
if [ "$QEMU" == "1" ] && ! which qemu-system-${QEMUARCH}; then if [ "$QEMU" == "1" ] && ! which qemu-system-${QEMUARCH}; then
echo "ERROR: qemu not found - do you need to install it?"
QEMU=0 QEMU=0
fi fi
@ -160,7 +154,7 @@ if [ "$QEMU" == "1" ]; then
${KVM_ENABLE} \ ${KVM_ENABLE} \
${CPU} \ ${CPU} \
${machine["$ARCH"]} \ ${machine["$ARCH"]} \
-m $MEMORY \ -m 2048 \
${network["$ARCH"]} \ ${network["$ARCH"]} \
$(eval "${hd["$ARCH"]} ${HD}") \ $(eval "${hd["$ARCH"]} ${HD}") \
${SECOND_DRIVE_ENABLE} \ ${SECOND_DRIVE_ENABLE} \
@ -182,7 +176,7 @@ elif [ "$BOOT_ISO" == "1" ]; then
${KVM_ENABLE} \ ${KVM_ENABLE} \
${CPU} \ ${CPU} \
${machine["$ARCH"]} \ ${machine["$ARCH"]} \
-m $MEMORY \ -m 2048 \
${network["$ARCH"]} \ ${network["$ARCH"]} \
$(eval "${hd["$ARCH"]} ${HD}") \ $(eval "${hd["$ARCH"]} ${HD}") \
${SECOND_DRIVE_ENABLE} \ ${SECOND_DRIVE_ENABLE} \