parent
80b1cf4d03
commit
e57bababba
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@
|
|||||||
|
From 5d2f973ef5ae4fb1eba602afe11c404162edf474 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eugene Zamriy <eugene@zamriy.info>
|
||||||
|
Date: Sun, 2 Apr 2023 19:02:34 +0300
|
||||||
|
Subject: [PATCH 2/4] Set MSVSphere syspurposes
|
||||||
|
|
||||||
|
---
|
||||||
|
etc-conf/syspurpose/valid_fields.json | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/etc-conf/syspurpose/valid_fields.json b/etc-conf/syspurpose/valid_fields.json
|
||||||
|
index 1ac7ea0..0cf3787 100644
|
||||||
|
--- a/etc-conf/syspurpose/valid_fields.json
|
||||||
|
+++ b/etc-conf/syspurpose/valid_fields.json
|
||||||
|
@@ -1,8 +1,8 @@
|
||||||
|
{
|
||||||
|
"role": [
|
||||||
|
- "Red Hat Enterprise Linux Server",
|
||||||
|
- "Red Hat Enterprise Linux Workstation",
|
||||||
|
- "Red Hat Enterprise Linux Compute Node"
|
||||||
|
+ "MSVSphere Server",
|
||||||
|
+ "MSVSphere Workstation",
|
||||||
|
+ "MSVSphere Compute Node"
|
||||||
|
],
|
||||||
|
"service_level_agreement": [
|
||||||
|
"Premium",
|
||||||
|
--
|
||||||
|
2.43.5
|
||||||
|
|
@ -0,0 +1,29 @@
|
|||||||
|
From 6eda92395cde8e527f26d24399d86c2cf18d22b3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eugene Zamriy <eugene@zamriy.info>
|
||||||
|
Date: Sun, 2 Apr 2023 19:03:40 +0300
|
||||||
|
Subject: [PATCH 3/4] Disable repo file creation
|
||||||
|
|
||||||
|
---
|
||||||
|
src/subscription_manager/repofile.py | 6 +-----
|
||||||
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/subscription_manager/repofile.py b/src/subscription_manager/repofile.py
|
||||||
|
index c5bbee9..8ed6592 100644
|
||||||
|
--- a/src/subscription_manager/repofile.py
|
||||||
|
+++ b/src/subscription_manager/repofile.py
|
||||||
|
@@ -374,11 +374,7 @@ class RepoFileBase:
|
||||||
|
"""
|
||||||
|
Try to create new repo file.
|
||||||
|
"""
|
||||||
|
- self.create_dir_path()
|
||||||
|
- if self.path_exists(self.path) or not self.manage_repos:
|
||||||
|
- return
|
||||||
|
- with open(self.path, "w") as f:
|
||||||
|
- f.write(self.REPOFILE_HEADER)
|
||||||
|
+ pass
|
||||||
|
|
||||||
|
def fix_content(self, content: str) -> str:
|
||||||
|
return content
|
||||||
|
--
|
||||||
|
2.43.5
|
||||||
|
|
@ -0,0 +1,23 @@
|
|||||||
|
From 85b334400b4d8ff73b3a0c0ec636ba03d32f5410 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eugene Zamriy <eugene@zamriy.info>
|
||||||
|
Date: Sun, 2 Apr 2023 19:15:32 +0300
|
||||||
|
Subject: [PATCH 4/4] Disable subscription manager plugin
|
||||||
|
|
||||||
|
---
|
||||||
|
etc-conf/plugin/subscription-manager.conf | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/etc-conf/plugin/subscription-manager.conf b/etc-conf/plugin/subscription-manager.conf
|
||||||
|
index 9050582..2392f67 100644
|
||||||
|
--- a/etc-conf/plugin/subscription-manager.conf
|
||||||
|
+++ b/etc-conf/plugin/subscription-manager.conf
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[main]
|
||||||
|
-enabled=1
|
||||||
|
+enabled=0
|
||||||
|
|
||||||
|
# When following option is set to 1, then all repositories defined outside redhat.repo will be disabled
|
||||||
|
# every time subscription-manager plugin is triggered by dnf or yum
|
||||||
|
--
|
||||||
|
2.43.5
|
||||||
|
|
Loading…
Reference in new issue