You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
osinfo-db/SOURCES/0001-Added-MSVSphere-suppor...

254 lines
9.0 KiB

From 461c67a95d47363e147793367e027f10f520e0e2 Mon Sep 17 00:00:00 2001
From: Alexey Lyubimov <a.lyubimov@softline.com>
Date: Mon, 16 Oct 2023 17:24:03 +0300
Subject: [PATCH] Remaking original [PATCH] Added MSVSphere support from
ac17c12f781cd539b653695408af3df59ab23201 after update to osinfo-db-20230518
---
.../redhat.com/rhel-kickstart-desktop.xml | 7 ++
.../redhat.com/rhel-kickstart-jeos.xml | 7 ++
os/msvsphere-os.ru/msvsphere-8.xml | 78 +++++++++++++++++
os/msvsphere-os.ru/msvsphere-9.xml | 112 +++++++++++++++++++
4 files changed, 179 insertions(+)
create mode 100644 os/msvsphere-os.ru/msvsphere-8.xml
create mode 100644 os/msvsphere-os.ru/msvsphere-9.xml
diff --git a/install-script/redhat.com/rhel-kickstart-desktop.xml b/install-script/redhat.com/rhel-kickstart-desktop.xml
index 82911f4..315b475 100644
--- a/install-script/redhat.com/rhel-kickstart-desktop.xml
+++ b/install-script/redhat.com/rhel-kickstart-desktop.xml
@@ -179,6 +179,13 @@
<xsl:call-template name="arch"/>
<xsl:text>/BaseOS/os/</xsl:text>
</xsl:when>
+ <xsl:when test="os/distro = 'msvsphere'">
+ <xsl:text>https://repo1.msvsphere-os.ru/msvsphere/</xsl:text>
+ <xsl:call-template name="version"/>
+ <xsl:text>/BaseOS/</xsl:text>
+ <xsl:call-template name="arch"/>
+ <xsl:text>/os/</xsl:text>
+ </xsl:when>
<xsl:when test="os/distro = 'rocky'">
<xsl:text>https://download.rockylinux.org/pub/rocky/</xsl:text>
<xsl:call-template name="version"/>
diff --git a/install-script/redhat.com/rhel-kickstart-jeos.xml b/install-script/redhat.com/rhel-kickstart-jeos.xml
index 21d3e85..295a006 100644
--- a/install-script/redhat.com/rhel-kickstart-jeos.xml
+++ b/install-script/redhat.com/rhel-kickstart-jeos.xml
@@ -159,6 +159,13 @@
<xsl:call-template name="arch"/>
<xsl:text>/BaseOS/os/</xsl:text>
</xsl:when>
+ <xsl:when test="os/distro = 'msvsphere'">
+ <xsl:text>https://repo1.msvsphere-os.ru/msvsphere/</xsl:text>
+ <xsl:call-template name="version"/>
+ <xsl:text>/BaseOS/</xsl:text>
+ <xsl:call-template name="arch"/>
+ <xsl:text>/os/</xsl:text>
+ </xsl:when>
<xsl:when test="os/distro = 'rocky'">
<xsl:text>https://download.rockylinux.org/pub/rocky/</xsl:text>
<xsl:call-template name="version"/>
diff --git a/os/msvsphere-os.ru/msvsphere-8.xml b/os/msvsphere-os.ru/msvsphere-8.xml
new file mode 100644
index 0000000..e5cb57b
--- /dev/null
+++ b/os/msvsphere-os.ru/msvsphere-8.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<libosinfo version="0.0.1">
+ <os id="http://msvsphere-os.ru/msvsphere/8">
+ <short-id>msvsphere8</short-id>
+ <name>MSVSphere 8</name>
+ <name xml:lang="cs">MSVSphere 8</name>
+ <name xml:lang="ka">MSVSphere 8</name>
+ <name xml:lang="fi">MSVSphere 8</name>
+ <name xml:lang="uk">MSVSphere 8</name>
+ <name xml:lang="tr">MSVSphere 8</name>
+ <name xml:lang="pt_BR">MSVSphere 8</name>
+ <name xml:lang="pl">MSVSphere 8</name>
+ <name xml:lang="it">MSVSphere 8</name>
+ <name xml:lang="id">MSVSphere 8</name>
+ <name xml:lang="de">MSVSphere 8</name>
+ <version>8</version>
+ <vendor>LLC "NCSD"</vendor>
+ <vendor xml:lang="cs">LLC "NCSD"</vendor>
+ <vendor xml:lang="ka">LLC "NCSD"</vendor>
+ <vendor xml:lang="ko">LLC "NCSD"</vendor>
+ <vendor xml:lang="uk">LLC "NCSD"</vendor>
+ <vendor xml:lang="tr">LLC "NCSD"</vendor>
+ <vendor xml:lang="pl">LLC "NCSD"</vendor>
+ <vendor xml:lang="it">LLC "NCSD"</vendor>
+ <vendor xml:lang="id">LLC "NCSD"</vendor>
+ <vendor xml:lang="de">LLC "NCSD"</vendor>
+ <family>linux</family>
+ <distro>msvsphere</distro>
+ <clones id="http://redhat.com/rhel/8.8"/>
+ <release-status>prerelease</release-status>
+ <media arch="x86_64">
+ <iso>
+ <system-id>LINUX</system-id>
+ <volume-id>MSVSphere-8.*x86_64.*</volume-id>
+ </iso>
+ <kernel>isolinux/vmlinuz</kernel>
+ <initrd>isolinux/initrd.img</initrd>
+ </media>
+ <tree arch="x86_64">
+ <url>http://repo1.msvsphere-os.ru/msvsphere/8/BaseOS/x86_64/os/</url>
+ <treeinfo>
+ <family>MSVSphere</family>
+ <version>^8$</version>
+ <arch>x86_64</arch>
+ </treeinfo>
+ </tree>
+ <tree arch="all">
+ <treeinfo>
+ <family>MSVSphere</family>
+ <version>^8$</version>
+ </treeinfo>
+ </tree>
+ <resources arch="all">
+ <minimum>
+ <n-cpus>1</n-cpus>
+ <cpu>1000000000</cpu>
+ <ram>1610612736</ram>
+ <storage>21474836480</storage>
+ </minimum>
+ <recommended>
+ <cpu>1000000000</cpu>
+ <ram>1610612736</ram>
+ <storage>42949672960</storage>
+ </recommended>
+ <network-install>
+ <ram>3221225472</ram>
+ </network-install>
+ </resources>
+ <cloud-image-username>msvsphere</cloud-image-username>
+ <installer>
+ <script id="http://redhat.com/rhel/kickstart/jeos"/>
+ <script id="http://redhat.com/rhel/kickstart/desktop"/>
+ </installer>
+ </os>
+</libosinfo>
diff --git a/os/msvsphere-os.ru/msvsphere-9.xml b/os/msvsphere-os.ru/msvsphere-9.xml
new file mode 100644
index 0000000..05dc550
--- /dev/null
+++ b/os/msvsphere-os.ru/msvsphere-9.xml
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<libosinfo version="0.0.1">
+ <os id="http://msvsphere-os.ru/msvsphere/9">
+ <short-id>msvsphere9</short-id>
+ <name>MSVSphere 9</name>
+ <name xml:lang="cs">MSVSphere 9</name>
+ <name xml:lang="ka">MSVSphere 9</name>
+ <name xml:lang="fi">MSVSphere 9</name>
+ <name xml:lang="uk">MSVSphere 9</name>
+ <name xml:lang="tr">MSVSphere 9</name>
+ <name xml:lang="pt_BR">MSVSphere 9</name>
+ <name xml:lang="pl">MSVSphere 9</name>
+ <name xml:lang="it">MSVSphere 9</name>
+ <name xml:lang="id">MSVSphere 9</name>
+ <name xml:lang="de">MSVSphere 9</name>
+ <version>9</version>
+ <vendor>LLC "NCSD"</vendor>
+ <vendor xml:lang="cs">LLC "NCSD"</vendor>
+ <vendor xml:lang="ka">LLC "NCSD"</vendor>
+ <vendor xml:lang="ko">LLC "NCSD"</vendor>
+ <vendor xml:lang="uk">LLC "NCSD"</vendor>
+ <vendor xml:lang="tr">LLC "NCSD"</vendor>
+ <vendor xml:lang="pl">LLC "NCSD"</vendor>
+ <vendor xml:lang="it">LLC "NCSD"</vendor>
+ <vendor xml:lang="id">LLC "NCSD"</vendor>
+ <vendor xml:lang="de">LLC "NCSD"</vendor>
+ <family>linux</family>
+ <distro>msvsphere</distro>
+ <clones id="http://redhat.com/rhel/9.1"/>
+ <release-status>prerelease</release-status>
+ <media arch="x86_64">
+ <iso>
+ <volume-id>MSVSphere-9.*x86_64.*</volume-id>
+ </iso>
+ <kernel>isolinux/vmlinuz</kernel>
+ <initrd>isolinux/initrd.img</initrd>
+ </media>
+ <media arch="aarch64">
+ <iso>
+ <volume-id>MSVSphere-9.*aarch64.*</volume-id>
+ </iso>
+ <kernel>images/pxeboot/vmlinuz</kernel>
+ <initrd>images/pxeboot/initrd.img</initrd>
+ </media>
+ <tree arch="x86_64">
+ <url>http://repo1.msvsphere-os.ru/msvsphere/9/BaseOS/x86_64/os/</url>
+ <treeinfo>
+ <family>MSVSphere</family>
+ <version>^9$</version>
+ <arch>x86_64</arch>
+ </treeinfo>
+ </tree>
+ <tree arch="aarch64">
+ <url>http://repo1.msvsphere-os.ru/msvsphere/9/BaseOS/aarch64/os/</url>
+ <treeinfo>
+ <family>MSVSphere</family>
+ <version>^9$</version>
+ <arch>aarch64</arch>
+ </treeinfo>
+ </tree>
+ <resources arch="x86_64">
+ <minimum>
+ <cpu>1000000000</cpu>
+ <ram>1610612736</ram>
+ <storage>21474836480</storage>
+ </minimum>
+ <recommended>
+ <cpu>1000000000</cpu>
+ <ram>1610612736</ram>
+ <storage>42949672960</storage>
+ </recommended>
+ <maximum>
+ <n-cpus>768</n-cpus>
+ <ram>26388279066624</ram>
+ </maximum>
+ <network-install>
+ <ram>3221225472</ram>
+ </network-install>
+ </resources>
+ <resources arch="aarch64">
+ <minimum>
+ <ram>2147483648</ram>
+ <storage>21474836480</storage>
+ </minimum>
+ <recommended>
+ <storage>42949672960</storage>
+ </recommended>
+ <maximum>
+ <n-cpus>256</n-cpus>
+ <ram>1649267441664</ram>
+ </maximum>
+ </resources>
+ <resources arch="all">
+ <minimum>
+ <n-cpus>1</n-cpus>
+ <cpu>1000000000</cpu>
+ <ram>1610612736</ram>
+ <storage>21474836480</storage>
+ </minimum>
+ <recommended>
+ <cpu>1000000000</cpu>
+ <ram>1610612736</ram>
+ <storage>42949672960</storage>
+ </recommended>
+ </resources>
+ <cloud-image-username>msvsphere</cloud-image-username>
+ <installer>
+ <script id="http://redhat.com/rhel/kickstart/jeos"/>
+ <script id="http://redhat.com/rhel/kickstart/desktop"/>
+ </installer>
+ </os>
+</libosinfo>
--
2.39.3