summaryrefslogtreecommitdiffstats
path: root/builder/dnbd3-qcow2-rootfs/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/dnbd3-qcow2-rootfs/module-setup.sh')
-rwxr-xr-x[-rw-r--r--]builder/dnbd3-qcow2-rootfs/module-setup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/builder/dnbd3-qcow2-rootfs/module-setup.sh b/builder/dnbd3-qcow2-rootfs/module-setup.sh
index b3f14c1d..c19263a3 100644..100755
--- a/builder/dnbd3-qcow2-rootfs/module-setup.sh
+++ b/builder/dnbd3-qcow2-rootfs/module-setup.sh
@@ -22,7 +22,7 @@ check() {
echo "The nbd-client major version is not 3, meaning its probably too old."
return 1
fi
- if [ "${nbd_client_version_minor}" -gt 8 ]; then
+ if [ "${nbd_client_version_minor}" -gt 11 ]; then
# TODO check if ver = 3.9 has the same new syntax...
echo "The nbd-client minor version is greater than 8. A new syntax has been
introduced starting with 3.10 which we do not support."
@@ -55,8 +55,8 @@ install() {
# NOTE: These modules are build again Kernel: 3.10.0-229.1.2.el7.x86_64
# TODO: build these in check() !
- inst "$moddir/kernel_modules/dnbd3.ko" \
- /usr/lib/modules/current/extra/dnbd3.ko
+ #inst "$moddir/kernel_modules/dnbd3.ko" \
+ #/usr/lib/modules/current/extra/dnbd3.ko
inst "$moddir/kernel_modules/nbd.ko" \
/usr/lib/modules/current/extra/nbd.ko