From: David Galloway Date: Tue, 10 Apr 2018 15:40:50 +0000 (-0400) Subject: sepia-fog-images: Add CentOS/RHEL 7.5 support X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1003%2Fhead;p=ceph-build.git sepia-fog-images: Add CentOS/RHEL 7.5 support Signed-off-by: David Galloway --- diff --git a/sepia-fog-images/build/build b/sepia-fog-images/build/build index cb2d257c..26463aaf 100755 --- a/sepia-fog-images/build/build +++ b/sepia-fog-images/build/build @@ -16,12 +16,18 @@ funSetProfiles () { elif [ "$1" == "xenial" ]; then cobblerprofile="Ubuntu-16.04-server-x86_64" fogprofile="ubuntu_16.04" - elif [ "$1" == "centos" ]; then + elif [ "$1" == "centos74" ]; then cobblerprofile="CentOS-7.4-x86_64" fogprofile="centos_7.4" - elif [ "$1" == "rhel" ]; then + elif [ "$1" == "centos75" ]; then + cobblerprofile="CentOS-7.5-x86_64" + fogprofile="centos_7.5" + elif [ "$1" == "rhel74" ]; then cobblerprofile="RHEL-7.4-Server-x86_64" fogprofile="rhel_7.4" + elif [ "$1" == "rhel75" ]; then + cobblerprofile="RHEL-7.5-Server-x86_64" + fogprofile="rhel_7.5" else echo "Unknown profile $1" exit 1 diff --git a/sepia-fog-images/config/definitions/sepia-fog-images.yml b/sepia-fog-images/config/definitions/sepia-fog-images.yml index b47bb9ea..580c2a26 100644 --- a/sepia-fog-images/config/definitions/sepia-fog-images.yml +++ b/sepia-fog-images/config/definitions/sepia-fog-images.yml @@ -18,8 +18,8 @@ parameters: - string: name: DISTROS - default: "trusty xenial centos rhel" - description: "Distro to capture images for: (e.g., 'trusty', 'xenial', 'centos' or 'trusty xenial' for multiple distros)" + default: "trusty xenial centos74 rhel75" + description: "Distro to capture images for: (e.g., 'trusty', 'xenial', 'centos74' or 'trusty xenial' for multiple distros)" - string: name: MACHINETYPES default: "smithi mira"