content: name = "rhel-9.6-microshift-source-optionals"
  description = "A RHEL 9.6 image with MicroShift and OLM built from source."
  version = "0.0.1"
  modules = []
  groups = []
  distro = "rhel-96"
  
  # Parent specification directive recognized by test/bin/build_images.sh to be
  # used with the '--parent' argument of 'osbuild-composer'
  {{- "\n" -}}
  {{- if env.Getenv "CURRENT_RELEASE_VERSION" "" -}}
  # parent = "rhel-9.6-microshift-crel-optionals"
  {{- else -}}
  # parent = "rhel-9.6-microshift-4.{{ .Env.PREVIOUS_MINOR_VERSION }}"
  {{- end -}}
  {{- "\n" -}}
  
  {{ range (env.Getenv "MICROSHIFT_MANDATORY_RPMS" | strings.Split " ") }}
  [[packages]]
  name = "{{ . }}"
  version = "{{ env.Getenv "SOURCE_VERSION" }}"
  {{ end }}
  
  {{ range (env.Getenv "MICROSHIFT_OPTIONAL_RPMS" | strings.Split " ") }}
  [[packages]]
  name = "{{ . }}"
  version = "{{ env.Getenv "SOURCE_VERSION" }}"
  {{ end }}
  
  {{- if and (env.Getenv "UNAME_M" "") (eq "x86_64" .Env.UNAME_M) }}
  {{ range (env.Getenv "MICROSHIFT_X86_64_RPMS" | strings.Split " ") }}
  [[packages]]
  name = "{{ . }}"
  version = "{{ env.Getenv "SOURCE_VERSION" }}"
  {{ end }}
  {{- end }}
  
  [[packages]]
  name = "microshift-test-agent"
  version = "*"
  
  [[packages]]
  name = "systemd-resolved"
  version = "*"
  
  [customizations.services]
  enabled = ["microshift", "microshift-test-agent"]
  
  [customizations.firewall]
  ports = ["22:tcp", "80:tcp", "443:tcp", "5353:udp", "6443:tcp", "30000-32767:tcp", "30000-32767:udp"]
  
  [customizations.firewall.services]
  enabled = ["mdns", "ssh", "http", "https"]
  
  [[customizations.firewall.zones]]
  name = "trusted"
  sources = ["10.42.0.0/16", "169.254.169.1", "fd01::/48"]
  