From: David Galloway Date: Mon, 26 Feb 2018 20:11:17 +0000 (-0500) Subject: sepia-fog-images: Add support for RHEL X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=27786869da4f45ea7385f9fc1681dbbbf6d4c3c7;p=ceph-build.git sepia-fog-images: Add support for RHEL Signed-off-by: David Galloway --- diff --git a/sepia-fog-images/build/build b/sepia-fog-images/build/build index b0710ff4..61037e36 100755 --- a/sepia-fog-images/build/build +++ b/sepia-fog-images/build/build @@ -19,6 +19,9 @@ funSetProfiles () { elif [ "$1" == "centos" ]; then cobblerprofile="CentOS-7.4-x86_64" fogprofile="centos_7.4" + elif [ "$1" == "rhel" ]; then + cobblerprofile="RHEL-7.4-Server-x86_64" + fogprofile="rhel_7.4" 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 51bb69f8..339e339a 100644 --- a/sepia-fog-images/config/definitions/sepia-fog-images.yml +++ b/sepia-fog-images/config/definitions/sepia-fog-images.yml @@ -17,7 +17,7 @@ parameters: - string: name: DISTROS - default: "trusty xenial centos" + default: "trusty xenial centos rhel" description: "Distro to capture images for: (e.g., 'trusty', 'xenial', 'centos' or 'trusty xenial' for multiple distros)" - string: name: MACHINETYPES