]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sepia-fog-images: Add support for RHEL 968/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 26 Feb 2018 20:11:17 +0000 (15:11 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 26 Feb 2018 20:11:17 +0000 (15:11 -0500)
Signed-off-by: David Galloway <dgallowa@redhat.com>
sepia-fog-images/build/build
sepia-fog-images/config/definitions/sepia-fog-images.yml

index b0710ff453d10c00129560192655bd4119b920df..61037e36ac490bc37b3a780d3ede8404b1be7abb 100755 (executable)
@@ -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
index 51bb69f8e66be00a63c3b19de085dcd678afb92b..339e339a31f36fd66f158a05c420ce8fe8381186 100644 (file)
@@ -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