aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant
diff options
context:
space:
mode:
authorMD NADEEM <mail2nadeem92@gmail.com>2016-02-04 17:05:05 +0530
committerMD NADEEM <md.nadeem@nectechnologies.in>2016-02-04 12:41:26 +0000
commit354e674dedacec727bf7edfcfd9ddbfba3ce586e (patch)
treecc5efb1e76e9ff01d177f471fd5eba25d6bdf1a1 /dev/vagrant
parent33484d7a792711903a05b3956e69ad2005ee00df (diff)
downloadkolla-354e674dedacec727bf7edfcfd9ddbfba3ce586e.tar.gz
kolla-354e674dedacec727bf7edfcfd9ddbfba3ce586e.zip
Update kernel version in ubuntu-bootstrap.sh
Ubuntu-bootstrap.sh script rebooted my server with message of re-run the script and at re-run it again do the same thing. I find this behavior is due to the below check if [[ $(uname -r) != *"3.19"* ]] As latest ubuntu kernel version is 4.2.0-27-generic, so we should update the script for kernel version 4.2.0-27-generic. This patch fixes the issue. Closes-Bug: #1541797 Change-Id: I01e98d80df60fe8c5f6ac6e644d42261fdd2921c
Diffstat (limited to 'dev/vagrant')
-rw-r--r--dev/vagrant/ubuntu-bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/vagrant/ubuntu-bootstrap.sh b/dev/vagrant/ubuntu-bootstrap.sh
index 2c0b2cde7..028d09d1e 100644
--- a/dev/vagrant/ubuntu-bootstrap.sh
+++ b/dev/vagrant/ubuntu-bootstrap.sh
@@ -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"