fix the file permissions on executables,
also, install kpartx for fedora images
This commit is contained in:
0
image-builder/CI-elements/CI-tools/first-boot.d/10-CI-run
Normal file → Executable file
0
image-builder/CI-elements/CI-tools/first-boot.d/10-CI-run
Normal file → Executable file
0
image-builder/CI-elements/CI-tools/install.d/10-CI-tools
Normal file → Executable file
0
image-builder/CI-elements/CI-tools/install.d/10-CI-tools
Normal file → Executable file
5
image-builder/build-image.sh
Normal file → Executable file
5
image-builder/build-image.sh
Normal file → Executable file
@@ -6,6 +6,11 @@ if ! [ type qemu-img 2>/dev/null ]; then
|
|||||||
apt-get install -y qemu-utils
|
apt-get install -y qemu-utils
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#need kpartx for Fedora
|
||||||
|
if ! [ type kpartx 2>/dev/null ]; then
|
||||||
|
apt-get install -y kpartx
|
||||||
|
fi
|
||||||
|
|
||||||
if ! [ -f diskimage-builder ]; then
|
if ! [ -f diskimage-builder ]; then
|
||||||
git clone https://github.com/openstack/diskimage-builder.git
|
git clone https://github.com/openstack/diskimage-builder.git
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user