RHEL-90: move RHSM configuration to ImageConfig structure
Move the RHSM configuration settings to `ImageConfig` structure and use when handling subscriptions in `osPipeline`, `ec2BaseTreePipeline` and `ostreeTreePipeline` functions. Regenerate image test cases. While there are changed in the manifests, the actual image configuration didn't change at all and thus the `image-info` report was not changed. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
b200fa8fcd
commit
8130c892f0
10 changed files with 278 additions and 165 deletions
|
|
@ -902,6 +902,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-logind",
|
||||
"options": {
|
||||
|
|
@ -967,16 +977,6 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -913,6 +913,19 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-logind",
|
||||
"options": {
|
||||
|
|
@ -978,19 +991,6 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -885,6 +885,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-logind",
|
||||
"options": {
|
||||
|
|
@ -950,16 +960,6 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -898,6 +898,19 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-logind",
|
||||
"options": {
|
||||
|
|
@ -963,19 +976,6 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1092,6 +1092,19 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-logind",
|
||||
"options": {
|
||||
|
|
@ -1157,19 +1170,6 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1146,6 +1146,19 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-logind",
|
||||
"options": {
|
||||
|
|
@ -1211,19 +1224,6 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.rhsm",
|
||||
"options": {
|
||||
"subscription-manager": {
|
||||
"rhsm": {
|
||||
"manage_repos": false
|
||||
},
|
||||
"rhsmcertd": {
|
||||
"auto_registration": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue