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
This commit is contained in:
Sean Dague 2014-07-31 11:11:42 -07:00
parent ab5b5dedf8
commit 01796fad29

View File

@ -93,24 +93,6 @@ if [[ -d $dir ]]; then
sudo chmod +r $dir/*
fi
# Ubuntu 12.04
# ------------
# We can regularly get kernel crashes on the 12.04 default kernel, so attempt
# to install a new kernel
if [[ ${DISTRO} =~ (precise) ]]; then
# Finally, because we suspect the Precise kernel is problematic, install a new kernel
UPGRADE_KERNEL=$(trueorfalse False $UPGRADE_KERNEL)
if [[ $UPGRADE_KERNEL == "True" ]]; then
if [[ ! `uname -r` =~ (^3\.11) ]]; then
apt_get install linux-generic-lts-saucy
echo "Installing Saucy LTS kernel, please reboot before proceeding"
exit 1
fi
fi
fi
if is_fedora; then
# Disable selinux to avoid configuring to allow Apache access
# to Horizon files (LP#1175444)