From 4ba1c80df8bed9207f9aaa729f1e5759862c4f17 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Fri, 22 Mar 2019 21:45:30 +0100 Subject: [PATCH] Don't customize image before upload it to Glance by default Commit [1] provided new possibility to customize e.g. Ubuntu image and e.g. install some additional packages just before upload it to Glance in Devstack's stack.sh script. It was done to be able to install e.g. socat package to test multicast. But until now we don't have tests which would use this and this customization causes sometimes job failures when there is package and index mismatch. So there is no need to customize image always by default. If we will need to use this customization, we should use OpenStack's infra mirrors of Ubuntu repositories and then enable this option for job where its needed. [1] https://review.openstack.org/#/c/573702/ Change-Id: Ie84c0ae56dbd42cd522c4258903b7eafb435004f Closes-Bug: #1821384 --- devstack/customize_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/customize_image.sh b/devstack/customize_image.sh index 669c7616..77ff699b 100644 --- a/devstack/customize_image.sh +++ b/devstack/customize_image.sh @@ -9,7 +9,7 @@ source "${NEUTRON_TEMPEST_PLUGIN_DIR}/functions.sh" # By default enable guest image customization. It will be automatically skipped # for cirros images -CUSTOMIZE_IMAGE=${CUSTOMIZE_IMAGE:-True} +CUSTOMIZE_IMAGE=${CUSTOMIZE_IMAGE:-False} # Image customization is performed using virt-customize # using direct backend by default