Browse code

remove kernel override ability

This was landed to try to address an issue with netns vs nbd during
icehouse development. It never really got us anywhere, and is now
just cruft.

Change-Id: Ie498fae8d1f796c1fc83459c65d0de948d1d50ce

Sean Dague authored on 2014/08/01 03:11:42
Showing 1 changed files
... ...
@@ -93,24 +93,6 @@ if [[ -d $dir ]]; then
93 93
     sudo chmod +r $dir/*
94 94
 fi
95 95
 
96
-# Ubuntu 12.04
97
-# ------------
98
-
99
-# We can regularly get kernel crashes on the 12.04 default kernel, so attempt
100
-# to install a new kernel
101
-if [[ ${DISTRO} =~ (precise) ]]; then
102
-    # Finally, because we suspect the Precise kernel is problematic, install a new kernel
103
-    UPGRADE_KERNEL=$(trueorfalse False $UPGRADE_KERNEL)
104
-    if [[ $UPGRADE_KERNEL == "True" ]]; then
105
-        if [[ ! `uname -r` =~ (^3\.11) ]]; then
106
-            apt_get install linux-generic-lts-saucy
107
-            echo "Installing Saucy LTS kernel, please reboot before proceeding"
108
-            exit 1
109
-        fi
110
-    fi
111
-fi
112
-
113
-
114 96
 if is_fedora; then
115 97
     # Disable selinux to avoid configuring to allow Apache access
116 98
     # to Horizon files (LP#1175444)