From 1e5c0c5cb972aa3b0012775b34ea926861daa55c Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 16 Mar 2017 19:24:00 -0500 Subject: [PATCH] define the default kernel statically Change-Id: I6d39460de826f73e0ae28e0feb6a173d384583a3 Signed-off-by: Kevin Carter --- multi-node-aio/setup-cobbler.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/multi-node-aio/setup-cobbler.sh b/multi-node-aio/setup-cobbler.sh index e5d0784d..e26bd0a3 100755 --- a/multi-node-aio/setup-cobbler.sh +++ b/multi-node-aio/setup-cobbler.sh @@ -24,11 +24,7 @@ source functions.rc DEFAULT_IMAGE="${DEFAULT_IMAGE:-"$(lsb_release -sd | awk '{print $2}')"}" # The default kernel for Image, leave it empty will install the lastest kernel. -DEFAULT_KERNEL="${DEFAULT_KERNEL:-}" - -if [ -n "$DEFAULT_KERNEL" ]; then - DEFAULT_KERNEL="linux-image-$DEFAULT_KERNEL-generic" -fi +DEFAULT_KERNEL="${DEFAULT_KERNEL:-linux-image-extra-4.4.0-67-generic}" # Install cobbler wget -qO - http://download.opensuse.org/repositories/home:/libertas-ict:/cobbler26/xUbuntu_14.04/Release.key | apt-key add -