Skip to content

Commit

Permalink
Merge pull request #142 from ksimon1/rhel8
Browse files Browse the repository at this point in the history
Fix rhel8 description
  • Loading branch information
ksimon1 authored Apr 15, 2020
2 parents 0b07dcc + 204307f commit 93bb2b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generate-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- name: Generate RHEL 8 templates
template:
src: rhel7.tpl.yaml
src: rhel8.tpl.yaml
dest: "{{ playbook_dir }}/dist/templates/{{ os }}-{{ item.workload }}-{{ item.flavor }}.yaml"
with_items:
- {flavor: tiny, workload: server, memsize: "1.5Gi", cpus: 1, iothreads: False, tablet: False}
Expand Down
15 changes: 15 additions & 0 deletions templates/rhel8.tpl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: {{ os }}-{{ item.workload }}-{{ item.flavor }}-v0.10.0
annotations:
openshift.io/display-name: "Red Hat Enterprise Linux 8.0+ VM"
description: >-
This template can be used to create a VM suitable for
Red Hat Enterprise Linux 8 and newer.
The template assumes that a PVC is available which is providing the
necessary RHEL disk image.
tags: "hidden,kubevirt,virtualmachine,linux,rhel"

{% include "_linux.yaml" %}

0 comments on commit 93bb2b0

Please sign in to comment.