Merge "Update kernel version in ubuntu-bootstrap.sh"

This commit is contained in:
Jenkins 2016-02-05 06:39:21 +00:00 committed by Gerrit Code Review
commit fd78648393

View File

@ -70,10 +70,10 @@ configure_kolla() {
}
echo "Kernel version $(uname -r)"
if [[ $(uname -r) != *"3.19"* ]]; then
if [[ $(uname -r) != *"4.2"* ]]; then
echo "Going to update kernel image"
apt-get update
apt-get install -y linux-image-generic-lts-vivid
apt-get install -y linux-image-generic-lts-wily
# VM needs to be rebooted for docker to pickup the changes
echo "Rebooting for kernel changes"
echo "After reboot re-run vagrant provision to finish provising the box"