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
This commit is contained in:
parent
2b88dd53da
commit
79380e9428
@ -17,7 +17,7 @@ customize_advanced_image(){
|
|||||||
if [ -n "$image_file" ] && [ -s "$TOP_DIR/files/$image_file" ]; then
|
if [ -n "$image_file" ] && [ -s "$TOP_DIR/files/$image_file" ]; then
|
||||||
cp -f $TOP_DIR/files/$image_file /tmp
|
cp -f $TOP_DIR/files/$image_file /tmp
|
||||||
image_file_custom=/tmp/$image_file
|
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
|
if [ "$?" == "0" ]; then
|
||||||
source $TOP_DIR/openrc admin
|
source $TOP_DIR/openrc admin
|
||||||
old_image_id=$(openstack image show $ADVANCED_IMAGE_NAME -c id -f value)
|
old_image_id=$(openstack image show $ADVANCED_IMAGE_NAME -c id -f value)
|
||||||
|
Loading…
Reference in New Issue
Block a user