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
This commit is contained in:
Kevin Carter 2015-02-23 22:26:37 -06:00
parent 0596cefeca
commit e6d61ecf91

View File

@ -231,6 +231,9 @@ echo "tempest_public_subnet_cidr: ${TEMPEST_FLAT_CIDR}" | tee -a /etc/openstack_
# Minimize galera cache # Minimize galera cache
echo 'galera_gcache_size: 50M' | tee -a /etc/openstack_deploy/user_variables.yml 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 # Add in swift vars if needed
if [ "${DEPLOY_SWIFT}" == "yes" ]; then if [ "${DEPLOY_SWIFT}" == "yes" ]; then
# ensure that glance is configured to use swift # ensure that glance is configured to use swift