Project

General

Profile

Actions

Feature #27604

closed

Support RedHat CoreOS and Fedora CoreOS as operating systems

Added by felix sperling almost 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hello,

in order to be able to install RedHat Coreos via PXE it is required to add RedHat Coreos as a new operating system because the filenames on the Red Hat mirror don't fit to any existing naming conventions.

For example:
rhcos-4.1.0-x86_64-installer-initramfs.img
rhcos-4.1.0-x86_64-installer-kernel
http://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.1/4.1.0/

A simple example for the code would be:

app/models/operatingsystems/rhcos.rb

class Rhcos < Operatingsystem
  PXEFILES = {:kernel => 'rhcos-4.1.0-x86_64-installer-kernel', :initrd => 'rhcos-4.1.0-x86_64-installer-initramfs.img'}

  def pxe_type
    'coreos'
  end

  def mediumpath(medium_provider)
    ''
  end

  def pxedir
    ''
  end

  def display_family
    'Rhcos'
  end

end

app/models/operatingsystems/operatingsystem.rb

  FAMILIES = { 'Debian'    => %r{Debian|Ubuntu}i,
               'Redhat'    => %r{RedHat|Centos|Fedora|Scientific|SLC|OracleLinux}i,
               'Suse'      => %r{OpenSuSE|SLES|SLED}i,
               'Windows'   => %r{Windows}i,
               'Altlinux'  => %r{Altlinux}i,
               'Archlinux' => %r{Archlinux}i,
               'Coreos'    => %r{CoreOS}i,
               'Rhcos'     => %r{Rhcos}i,
               'Gentoo'    => %r{Gentoo}i,
               'Solaris'   => %r{Solaris}i,
               'Freebsd'   => %r{FreeBSD}i,
               'AIX'       => %r{AIX}i,
               'Junos'     => %r{Junos}i,
               'NXOS'      => %r{NX-OS}i,
               'Xenserver' => %r{XenServer}i }


Related issues 5 (3 open2 closed)

Related to Foreman - Feature #29224: CoreOS unattended provisioningNewLukas ZapletalActions
Related to Foreman - Feature #7652: Support CoreOSClosed09/26/2014Actions
Related to Foreman - Feature #31027: Add ct/fcct transpiler macro supportClosedLukas ZapletalActions
Related to Foreman - Bug #32643: Rationalize FCOS/Flatcar/RHCoreOS operating system iconsNewActions
Related to Foreman - Feature #32716: Missing tasks to allow Openshift provisioningNewActions
Actions #1

Updated by yifat makias over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to yifat makias
Actions #2

Updated by yifat makias over 4 years ago

  • Status changed from Assigned to New
  • Assignee deleted (yifat makias)
Actions #3

Updated by Lukas Zapletal about 4 years ago

Actions #4

Updated by Lukas Zapletal over 3 years ago

For the record, Foreman Omaha plugin provies CoreOS/Flatcar provisioning capabilities:

https://github.com/theforeman/foreman_omaha

Actions #5

Updated by Lukas Zapletal over 3 years ago

Actions #6

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/8042 added
Actions #7

Updated by Lukas Zapletal over 3 years ago

  • Related to Feature #31027: Add ct/fcct transpiler macro support added
Actions #8

Updated by Ondřej Ezr almost 3 years ago

  • Subject changed from Support RedHat Coreos as operating system in Foreman to Support RedHat CoreOS and Fedora CoreOS as operating systems
Actions #9

Updated by Ondřej Ezr almost 3 years ago

  • Tracker changed from Bug to Feature
  • Category set to Unattended installations
Actions #10

Updated by Ondřej Ezr almost 3 years ago

  • Related to Bug #32643: Rationalize FCOS/Flatcar/RHCoreOS operating system icons added
Actions #11

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases 3.0.0 added
Actions #12

Updated by Lukas Zapletal almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #13

Updated by Lukas Zapletal almost 3 years ago

  • Related to Feature #32716: Missing tasks to allow Openshift provisioning added
Actions

Also available in: Atom PDF