From d2c709fb9d01669b716d4b228091f293d4b0b8a8 Mon Sep 17 00:00:00 2001 From: Philipp Marek Date: Thu, 20 Apr 2017 10:00:34 +0200 Subject: [PATCH] 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 --- devstack/lib/drbd_devstack | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devstack/lib/drbd_devstack b/devstack/lib/drbd_devstack index 982ba4d..7bf96af 100755 --- a/devstack/lib/drbd_devstack +++ b/devstack/lib/drbd_devstack @@ -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