@@ -23,7 +23,7 @@ usage() {
2323 echo " [-a **amd64** | armhf | aarch64 | ppc64le]"
2424 echo " [-b **haproxy** ]"
2525 echo " [-c **~/.cache/image-create** | <cache directory> ]"
26- echo " [-d **jammy **/**9-stream**/**9** | <other release id> ]"
26+ echo " [-d **noble **/**9-stream**/**9** | <other release id> ]"
2727 echo " [-e]"
2828 echo " [-f]"
2929 echo " [-g **repository branch** | stable/train | stable/stein | ... ]"
@@ -45,7 +45,7 @@ usage() {
4545 echo " '-a' is the architecture type for the image (default: amd64)"
4646 echo " '-b' is the backend type (default: haproxy)"
4747 echo " '-c' is the path to the cache directory (default: ~/.cache/image-create)"
48- echo " '-d' distribution release id (default on ubuntu: jammy )"
48+ echo " '-d' distribution release id (default on ubuntu: noble )"
4949 echo " '-e' enable complete mandatory access control systems when available (default: permissive)"
5050 echo " '-f' disable tmpfs for build"
5151 echo " '-g' build the image for a specific OpenStack Git branch (default: current repository branch)"
@@ -242,7 +242,7 @@ AMP_CACHEDIR="$( cd "$AMP_CACHEDIR" && pwd )"
242242AMP_BASEOS=${AMP_BASEOS:- " ubuntu-minimal" }
243243
244244if [ " $AMP_BASEOS " = " ubuntu-minimal" ]; then
245- export DIB_RELEASE=${AMP_DIB_RELEASE:- " jammy " }
245+ export DIB_RELEASE=${AMP_DIB_RELEASE:- " noble " }
246246elif [ " ${AMP_BASEOS} " = " rhel" ]; then
247247 export DIB_RELEASE=${AMP_DIB_RELEASE:- " 9" }
248248elif [ " ${AMP_BASEOS} " = " centos-minimal" ]; then
@@ -469,6 +469,11 @@ if [ "${AMP_BASEOS}" = "centos-minimal" ] || [ "${AMP_BASEOS}" = "fedora" ] || [
469469 fi
470470fi
471471
472+ # AppArmor systems
473+ if [ " ${AMP_BASEOS} " = " ubuntu-minimal" ] || [ " ${AMP_BASEOS} " = " ubuntu" ]; then
474+ AMP_element_sequence=" $AMP_element_sequence amphora-apparmor"
475+ fi
476+
472477# Disable the dnf makecache timer
473478if [ " ${AMP_BASEOS} " = " centos-minimal" ] || [ " ${AMP_BASEOS} " = " fedora" ] || [ " ${AMP_BASEOS} " = " rhel" ] || [ " ${AMP_BASEOS} " = " rocky-container" ]; then
474479 AMP_element_sequence=" $AMP_element_sequence disable-makecache"
0 commit comments