Save service image URL properly
Put the image name in a file for retrieval by jobs that need it so they don't have to play (buggy) tricks with git to get it. Also ensure that debootstrap is installed. Depends-on: https://review.openstack.org/623551 Closes-bug: #1807969 Change-Id: I6dfeb5fb236579aa1755c6806f9ffc397690fba6
This commit is contained in:
parent
199f9c9760
commit
f0fbd9e365
@ -160,16 +160,16 @@ is_installed() {
|
||||
need_required_packages() {
|
||||
case "$platform" in
|
||||
"ubuntu")
|
||||
package_list="qemu kpartx"
|
||||
package_list="qemu kpartx debootstrap"
|
||||
;;
|
||||
"fedora")
|
||||
package_list="qemu-img kpartx"
|
||||
package_list="qemu-img kpartx debootstrap"
|
||||
;;
|
||||
"opensuse")
|
||||
package_list="qemu kpartx"
|
||||
package_list="qemu kpartx debootstrap"
|
||||
;;
|
||||
"rhel" | "centos")
|
||||
package_list="qemu-kvm qemu-img kpartx"
|
||||
package_list="qemu-kvm qemu-img kpartx debootstrap"
|
||||
;;
|
||||
*)
|
||||
err "Unknown platform '$platform' for the package list.\nAborting"
|
||||
|
@ -25,3 +25,5 @@ if [[ $PUT_IMAGE_TO_LOCAL_WEBSERVER != [Ff][Aa][Ll][Ss][Ee] ]]; then
|
||||
echo "Image with name '$image_name' is available now at \
|
||||
http://localhost:80/public_html/$image_name"
|
||||
fi
|
||||
|
||||
echo $image_name > ./IMAGE_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user