Code Review
/
releng
/
builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0b19fa1
)
Add workaround to Kernel panic issue on CentOS images
27/52127/2
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Tue, 21 Feb 2017 17:36:45 +0000
(12:36 -0500)
committer
Thanh Ha
<thanh.ha@linuxfoundation.org>
Tue, 21 Feb 2017 17:41:53 +0000
(12:41 -0500)
Change-Id: Ic697c627a1971ce906c5aaf84dfde93645582970
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
packer/provision/baseline.sh
patch
|
blob
|
history
diff --git
a/packer/provision/baseline.sh
b/packer/provision/baseline.sh
index 916f3973cefbd50c32bc05e2d963f0b9fee089e8..cff72debedcd88cac628b200b5e5d0b807b79f9d 100644
(file)
--- a/
packer/provision/baseline.sh
+++ b/
packer/provision/baseline.sh
@@
-50,7
+50,12
@@
EOF
echo "---> Updating operating system"
yum clean all
yum install -y deltarpm
+
+ # Workaround for kernel panic issue that appears sometimes after kernel update
+ # https://www.centos.org/forums/viewtopic.php?t=22425
+ yum remove -y kernel
yum update -y
+ yum install -y kernel
# add in components we need or want on systems
echo "---> Installing base packages"