From 79380e94284d716c8693f4f2eda67cd0c16af9ab Mon Sep 17 00:00:00 2001 From: Roman Safronov Date: Wed, 26 Jun 2024 23:25:06 +0300 Subject: [PATCH] Remove install python3 when customizing image Attempt to install python3 during image customization started to fail recently. python3 is already installed in the image so we can remove it from customization package list. Change-Id: I98f7e1cdd8068e2c66aad329de5653108f1cc861 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index f3f90e0..b34accf 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -17,7 +17,7 @@ customize_advanced_image(){ if [ -n "$image_file" ] && [ -s "$TOP_DIR/files/$image_file" ]; then cp -f $TOP_DIR/files/$image_file /tmp image_file_custom=/tmp/$image_file - timeout 150 sudo virt-customize -a $image_file_custom --install nmap,python3,keepalived,iperf3 --selinux-relabel + timeout 150 sudo virt-customize -a $image_file_custom --install nmap,keepalived,iperf3 --selinux-relabel if [ "$?" == "0" ]; then source $TOP_DIR/openrc admin old_image_id=$(openstack image show $ADVANCED_IMAGE_NAME -c id -f value)