dkms packages doesn't automatically install linux-headers anymore.

So we need to fetch them manually, so that the DRBD kernel module
can be built.

Change-Id: Ibc188c511ed6ab9afffd64b42ba633a18928dcd3
This commit is contained in:
Philipp Marek 2017-04-20 10:00:34 +02:00
parent 01d07564e9
commit d2c709fb9d
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ function pre_install_drbd_devstack {
# install packages normally
sudo apt-get update
sudo apt-get install --yes debhelper python-dbus dbus patch \
lvm2 thin-provisioning-tools drbd-utils drbd-dkms python-drbdmanage
lvm2 thin-provisioning-tools drbd-utils drbd-dkms python-drbdmanage \
linux-headers-$(uname -r)
# ensure we're starting with upstream config file, ie.
# overwrite local modifications, so that the automated