Merge "Make Ubuntu bionic the default for amphora images"

This commit is contained in:
Zuul 2019-07-27 03:46:17 +00:00 committed by Gerrit Code Review
commit f4094381fd
2 changed files with 5 additions and 5 deletions

View File

@ -103,7 +103,7 @@ Command syntax:
[-a i386 | **amd64** | armhf | ppc64le ] [-a i386 | **amd64** | armhf | ppc64le ]
[-b **haproxy** ] [-b **haproxy** ]
[-c **~/.cache/image-create** | <cache directory> ] [-c **~/.cache/image-create** | <cache directory> ]
[-d **xenial**/**7** | trusty | 8 | <other release id> ] [-d **bionic**/**7** | xenial | 8 | <other release id> ]
[-e] [-e]
[-f] [-f]
[-h] [-h]
@ -123,7 +123,7 @@ Command syntax:
'-a' is the architecture type for the image (default: amd64) '-a' is the architecture type for the image (default: amd64)
'-b' is the backend type (default: haproxy) '-b' is the backend type (default: haproxy)
'-c' is the path to the cache directory (default: ~/.cache/image-create) '-c' is the path to the cache directory (default: ~/.cache/image-create)
'-d' distribution release id (default on ubuntu: xenial) '-d' distribution release id (default on ubuntu: bionic)
'-e' enable complete mandatory access control systems when available (default: permissive) '-e' enable complete mandatory access control systems when available (default: permissive)
'-f' disable tmpfs for build '-f' disable tmpfs for build
'-h' display help message '-h' display help message

View File

@ -23,7 +23,7 @@ usage() {
echo " [-a i386 | **amd64** | armhf | ppc64le]" echo " [-a i386 | **amd64** | armhf | ppc64le]"
echo " [-b **haproxy** ]" echo " [-b **haproxy** ]"
echo " [-c **~/.cache/image-create** | <cache directory> ]" echo " [-c **~/.cache/image-create** | <cache directory> ]"
echo " [-d **xenial**/**7** | trusty | 8 | <other release id> ]" echo " [-d **bionic**/**7** | xenial | 8 | <other release id> ]"
echo " [-e]" echo " [-e]"
echo " [-f]" echo " [-f]"
echo " [-h]" echo " [-h]"
@ -43,7 +43,7 @@ usage() {
echo " '-a' is the architecture type for the image (default: amd64)" echo " '-a' is the architecture type for the image (default: amd64)"
echo " '-b' is the backend type (default: haproxy)" echo " '-b' is the backend type (default: haproxy)"
echo " '-c' is the path to the cache directory (default: ~/.cache/image-create)" echo " '-c' is the path to the cache directory (default: ~/.cache/image-create)"
echo " '-d' distribution release id (default on ubuntu: xenial)" echo " '-d' distribution release id (default on ubuntu: bionic)"
echo " '-e' enable complete mandatory access control systems when available (default: permissive)" echo " '-e' enable complete mandatory access control systems when available (default: permissive)"
echo " '-f' disable tmpfs for build" echo " '-f' disable tmpfs for build"
echo " '-h' display this help message" echo " '-h' display this help message"
@ -207,7 +207,7 @@ AMP_CACHEDIR=${AMP_CACHEDIR:-"$HOME/.cache/image-create"}
AMP_BASEOS=${AMP_BASEOS:-"ubuntu-minimal"} AMP_BASEOS=${AMP_BASEOS:-"ubuntu-minimal"}
if [ "$AMP_BASEOS" = "ubuntu-minimal" ]; then if [ "$AMP_BASEOS" = "ubuntu-minimal" ]; then
export DIB_RELEASE=${AMP_DIB_RELEASE:-"xenial"} export DIB_RELEASE=${AMP_DIB_RELEASE:-"bionic"}
elif [ "${AMP_BASEOS}" = "centos" ] || [ "${AMP_BASEOS}" = "rhel" ]; then elif [ "${AMP_BASEOS}" = "centos" ] || [ "${AMP_BASEOS}" = "rhel" ]; then
export DIB_RELEASE=${AMP_DIB_RELEASE:-"7"} export DIB_RELEASE=${AMP_DIB_RELEASE:-"7"}
elif [ "${AMP_BASEOS}" = "fedora" ]; then elif [ "${AMP_BASEOS}" = "fedora" ]; then