diff options
| author | MD NADEEM <mail2nadeem92@gmail.com> | 2016-02-04 17:05:05 +0530 |
|---|---|---|
| committer | MD NADEEM <md.nadeem@nectechnologies.in> | 2016-02-04 12:41:26 +0000 |
| commit | 354e674dedacec727bf7edfcfd9ddbfba3ce586e (patch) | |
| tree | cc5efb1e76e9ff01d177f471fd5eba25d6bdf1a1 /dev | |
| parent | 33484d7a792711903a05b3956e69ad2005ee00df (diff) | |
| download | kolla-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')
| -rw-r--r-- | dev/vagrant/ubuntu-bootstrap.sh | 4 |
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" |
