Fix dib issue with missing block-device element
This is new with dib 2.15 Change-Id: I31a090e1212bd96b054814f4e186972a4cd2b937 Signed-off-by: ahothan <ahothan@cisco.com>
This commit is contained in:
parent
cae5f726df
commit
1f0b0963b9
@ -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 ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user