From 32fca4d7ab0c1c2be69fc865f3f7f0f9d799a4b9 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Tue, 10 Apr 2018 11:40:50 -0400 Subject: [PATCH] sepia-fog-images: Add CentOS/RHEL 7.5 support Signed-off-by: David Galloway --- sepia-fog-images/build/build | 10 ++++++++-- .../config/definitions/sepia-fog-images.yml | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) 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" -- 2.39.5