diff --git a/imagebuild/tinyipa/build-tinyipa.sh b/imagebuild/tinyipa/build-tinyipa.sh index 9eb77aa5e..f2f8da659 100755 --- a/imagebuild/tinyipa/build-tinyipa.sh +++ b/imagebuild/tinyipa/build-tinyipa.sh @@ -9,7 +9,7 @@ TINYCORE_MIRROR_URL=${TINYCORE_MIRROR_URL:-} TINYIPA_REQUIRE_BIOSDEVNAME=${TINYIPA_REQUIRE_BIOSDEVNAME:-false} TINYIPA_REQUIRE_IPMITOOL=${TINYIPA_REQUIRE_IPMITOOL:-true} IRONIC_LIB_SOURCE=${IRONIC_LIB_SOURCE:-} -USE_PYTHON3=${USE_PYTHON3:-False} +USE_PYTHON3=${USE_PYTHON3:-True} CHROOT_PATH="/tmp/overides:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin" CHROOT_CMD="sudo chroot $BUILDDIR /usr/bin/env -i PATH=$CHROOT_PATH http_proxy=$http_proxy https_proxy=$https_proxy no_proxy=$no_proxy" diff --git a/imagebuild/tinyipa/finalise-tinyipa.sh b/imagebuild/tinyipa/finalise-tinyipa.sh index fd859a3f7..d8f967d47 100755 --- a/imagebuild/tinyipa/finalise-tinyipa.sh +++ b/imagebuild/tinyipa/finalise-tinyipa.sh @@ -24,7 +24,7 @@ PYOPTIMIZE_TINYIPA=${PYOPTIMIZE_TINYIPA:-true} TINYIPA_REQUIRE_BIOSDEVNAME=${TINYIPA_REQUIRE_BIOSDEVNAME:-false} TINYIPA_REQUIRE_IPMITOOL=${TINYIPA_REQUIRE_IPMITOOL:-true} TINYIPA_UDEV_SETTLE_TIMEOUT=${TINYIPA_UDEV_SETTLE_TIMEOUT:-20} -USE_PYTHON3=${USE_PYTHON3:-False} +USE_PYTHON3=${USE_PYTHON3:-True} echo "Finalising tinyipa:" diff --git a/releasenotes/notes/tinyipa-python3-default-b8434793e17465db.yaml b/releasenotes/notes/tinyipa-python3-default-b8434793e17465db.yaml new file mode 100644 index 000000000..a2b276b63 --- /dev/null +++ b/releasenotes/notes/tinyipa-python3-default-b8434793e17465db.yaml @@ -0,0 +1,9 @@ +--- +prelude: > + Tinyipa is the base image for testing Ironic Python Agent. + In the effort of moving toward a full Python 3 friendly environment, + with this patch we start building the tinyipa image with Python 3 by + default. +other: + - Change the Python default version used to build and run the Ironic + Python Agent in the Tiny Core based image to 3.6.