diff --git a/scripts/bootstrapbin.sh b/scripts/bootstrapbin.sh index 8e975f7..30202e6 100644 --- a/scripts/bootstrapbin.sh +++ b/scripts/bootstrapbin.sh @@ -1,3 +1,6 @@ +#update kernel +bash /vagrant/scripts/update_kernel.sh + # installs ccpi from scratch export INSTALLDIR=/opt/ccpi echo Bootstrapping Conda diff --git a/scripts/bootstrapcvmfs.sh b/scripts/bootstrapcvmfs.sh index 02c7b86..07cdeda 100644 --- a/scripts/bootstrapcvmfs.sh +++ b/scripts/bootstrapcvmfs.sh @@ -1,3 +1,6 @@ +#update kernel and kernel-headers +bash /vagrant/scripts/update_kernel.sh + # use ccpi from cvmfs installation export INSTALLDIR=/cvmfs/west-life.egi.eu/software/ccpi/latest bash /vagrant/scripts/installcvmfswestlife.sh diff --git a/scripts/bootstrapempty.sh b/scripts/bootstrapempty.sh index f20c1df..891e0ac 100644 --- a/scripts/bootstrapempty.sh +++ b/scripts/bootstrapempty.sh @@ -1,3 +1,5 @@ +#update kernel and kernel-headers +bash /vagrant/scripts/update_kernel.sh # installs ccpi from scratch export INSTALLDIR=/opt/ccpi echo Bootstrapping Conda diff --git a/scripts/bootstrapsrc.sh b/scripts/bootstrapsrc.sh index accfe45..f3d03b9 100644 --- a/scripts/bootstrapsrc.sh +++ b/scripts/bootstrapsrc.sh @@ -1,3 +1,5 @@ +# update kernel and kernel headers +bash /vagrant/scripts/update_kernel.sh # installs ccpi from scratch export INSTALLDIR=/opt/ccpi # to prepare cvmfs installation uncomment diff --git a/scripts/update_kernel.sh b/scripts/update_kernel.sh new file mode 100644 index 0000000..6ed3187 --- /dev/null +++ b/scripts/update_kernel.sh @@ -0,0 +1,2 @@ +# update kernel and kernel-headers +sudo yum update -y kernel.x86_64 kernel-headers.x86_64