From e6d61ecf91499084c2708a35f4ce7a9725674fa8 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 23 Feb 2015 22:26:37 -0600 Subject: [PATCH] Fix a regression in master to set the required kernel In the Juno branch the required kernel is set in user_variables.yml to match the running kernel if the vxlan module is loadable. This functionality was never added into the master branch and this commit adds that functionalty back into the AIO stack. Change-Id: Ie3b72964a32ed3cfe6ff616d6c1fa935ddfad18b Closes-Bug: #1424921 --- scripts/bootstrap-aio.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/bootstrap-aio.sh b/scripts/bootstrap-aio.sh index e5e76b3545..395688292f 100755 --- a/scripts/bootstrap-aio.sh +++ b/scripts/bootstrap-aio.sh @@ -231,6 +231,9 @@ echo "tempest_public_subnet_cidr: ${TEMPEST_FLAT_CIDR}" | tee -a /etc/openstack_ # Minimize galera cache echo 'galera_gcache_size: 50M' | tee -a /etc/openstack_deploy/user_variables.yml +# Set the running kernel as the required kernel +echo "required_kernel: $(uname --kernel-release)" | tee -a /etc/openstack_deploy/user_variables.yml + # Add in swift vars if needed if [ "${DEPLOY_SWIFT}" == "yes" ]; then # ensure that glance is configured to use swift