From 1f0b0963b953f52926a90f86ca408a842ba30bdf Mon Sep 17 00:00:00 2001 From: ahothan Date: Wed, 13 Jun 2018 17:54:49 -0700 Subject: [PATCH] Fix dib issue with missing block-device element This is new with dib 2.15 Change-Id: I31a090e1212bd96b054814f4e186972a4cd2b937 Signed-off-by: ahothan --- kb_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kb_build.sh b/kb_build.sh index 68152f4..43b11fd 100644 --- a/kb_build.sh +++ b/kb_build.sh @@ -34,7 +34,7 @@ function build_vm { fi echo "Building $kb_image_name.qcow2..." - pip install diskimage-builder + pip install "diskimage-builder>=2.15" cd ./kb_dib # Add the kloudbuster elements directory to the DIB elements path @@ -43,7 +43,7 @@ function build_vm { # Install Ubuntu 16.04 export DIB_RELEASE=xenial - time disk-image-create -o $kb_image_name ubuntu kloudbuster + time disk-image-create -o $kb_image_name block-device-mbr ubuntu kloudbuster rm -rf venv $kb_image_name.d mv $kb_image_name.qcow2 .. cd ..