summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHaruki TSURUMOTO <fortune.rocket42@gmail.com>2021-12-07 23:23:45 +0900
committerGitHub <noreply@github.com>2021-12-07 08:23:45 -0600
commit0ed00ad9cdebc2d4dabd8bd6d7c901584963def5 (patch)
treedcc25a244e086eab826fd988db44a8fdfaa76bf5 /tools
parentcd40789a583c38423cea76355b375aa838893292 (diff)
downloadvyos-cloud-init-0ed00ad9cdebc2d4dabd8bd6d7c901584963def5.tar.gz
vyos-cloud-init-0ed00ad9cdebc2d4dabd8bd6d7c901584963def5.zip
Add miraclelinux support (#1128)
Diffstat (limited to 'tools')
-rw-r--r--tools/.github-cla-signers1
-rwxr-xr-xtools/read-dependencies4
-rwxr-xr-xtools/render-cloudcfg2
3 files changed, 6 insertions, 1 deletions
diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers
index 492ed15e..a2da8a62 100644
--- a/tools/.github-cla-signers
+++ b/tools/.github-cla-signers
@@ -73,6 +73,7 @@ timothegenzmer
tnt-dev
tomponline
tsanghan
+tSU-RooT
vteratipally
Vultaire
WebSpider
diff --git a/tools/read-dependencies b/tools/read-dependencies
index 810154e4..efa5879c 100755
--- a/tools/read-dependencies
+++ b/tools/read-dependencies
@@ -24,6 +24,7 @@ DEFAULT_REQUIREMENTS = 'requirements.txt'
DISTRO_PKG_TYPE_MAP = {
'centos': 'redhat',
'eurolinux': 'redhat',
+ 'miraclelinux': 'redhat',
'rocky': 'redhat',
'redhat': 'redhat',
'debian': 'debian',
@@ -70,12 +71,14 @@ DRY_DISTRO_INSTALL_PKG_CMD = {
'rocky': ['yum', 'install', '--assumeyes'],
'centos': ['yum', 'install', '--assumeyes'],
'eurolinux': ['yum', 'install', '--assumeyes'],
+ 'miraclelinux': ['yum', 'install', '--assumeyes'],
'redhat': ['yum', 'install', '--assumeyes'],
}
DISTRO_INSTALL_PKG_CMD = {
'rocky': MAYBE_RELIABLE_YUM_INSTALL,
'eurolinux': MAYBE_RELIABLE_YUM_INSTALL,
+ 'miraclelinux': MAYBE_RELIABLE_YUM_INSTALL,
'centos': MAYBE_RELIABLE_YUM_INSTALL,
'redhat': MAYBE_RELIABLE_YUM_INSTALL,
'debian': ['apt', 'install', '-y'],
@@ -89,6 +92,7 @@ DISTRO_INSTALL_PKG_CMD = {
CI_SYSTEM_BASE_PKGS = {
'common': ['make', 'sudo', 'tar'],
'eurolinux': ['python3-tox'],
+ 'miraclelinux': ['python3-tox'],
'redhat': ['python3-tox'],
'centos': ['python3-tox'],
'ubuntu': ['devscripts', 'python3-dev', 'libssl-dev', 'tox', 'sbuild'],
diff --git a/tools/render-cloudcfg b/tools/render-cloudcfg
index 186d61b7..6642bd58 100755
--- a/tools/render-cloudcfg
+++ b/tools/render-cloudcfg
@@ -5,7 +5,7 @@ import os
import sys
VARIANTS = ["almalinux", "alpine", "amazon", "arch", "centos", "cloudlinux", "debian",
- "eurolinux", "fedora", "freebsd", "netbsd", "openbsd", "openEuler", "photon",
+ "eurolinux", "fedora", "freebsd", "miraclelinux", "netbsd", "openbsd", "openEuler", "photon",
"rhel", "suse","rocky", "ubuntu", "unknown", "virtuozzo"]