diff --git a/diagrams/generic/os.py b/diagrams/generic/os.py index 301ae82..cf0e980 100644 --- a/diagrams/generic/os.py +++ b/diagrams/generic/os.py @@ -32,6 +32,10 @@ class Raspbian(_Os): _icon = "raspbian.png" +class RedHat(_Os): + _icon = "red-hat.png" + + class Suse(_Os): _icon = "suse.png" diff --git a/docs/nodes/generic.md b/docs/nodes/generic.md index 96f3435..508ab0a 100644 --- a/docs/nodes/generic.md +++ b/docs/nodes/generic.md @@ -71,6 +71,9 @@ Node classes list of generic provider. Raspbian **diagrams.generic.os.Raspbian** +RedHat +**diagrams.generic.os.RedHat** + Suse **diagrams.generic.os.Suse** diff --git a/docs/nodes/onprem.md b/docs/nodes/onprem.md index 6886557..60ad8ac 100644 --- a/docs/nodes/onprem.md +++ b/docs/nodes/onprem.md @@ -490,7 +490,9 @@ Node classes list of onprem provider. ## onprem.registry -- **diagrams.onprem.registry.Harbor** + +Harbor +**diagrams.onprem.registry.Harbor** ## onprem.search diff --git a/resources/generic/os/red-hat.png b/resources/generic/os/red-hat.png new file mode 100644 index 0000000..4890181 Binary files /dev/null and b/resources/generic/os/red-hat.png differ