distro/rhel84: add sysconfig stage
The org.osbuild.sysconfig stage is now supported. Config updates can be made to the kernel and network files. Currently, the same values are used for all image types in rhel84. The image-info script is updated to allow testing the sysconfig info.
This commit is contained in:
parent
12f8a1540c
commit
eea18fc897
10 changed files with 219 additions and 0 deletions
|
|
@ -3285,6 +3285,19 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.sysconfig",
|
||||
"options": {
|
||||
"kernel": {
|
||||
"update_default": true,
|
||||
"default_kernel": "kernel"
|
||||
},
|
||||
"network": {
|
||||
"networking": true,
|
||||
"no_zero_conf": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
@ -9700,6 +9713,16 @@
|
|||
"udisks2.service",
|
||||
"unbound-anchor.timer"
|
||||
],
|
||||
"sysconfig": {
|
||||
"kernel": {
|
||||
"DEFAULTKERNEL": "kernel",
|
||||
"UPDATEDEFAULT": "yes"
|
||||
},
|
||||
"network": {
|
||||
"NETWORKING": "yes",
|
||||
"NOZEROCONF": "yes"
|
||||
}
|
||||
},
|
||||
"timezone": "New_York"
|
||||
}
|
||||
}
|
||||
|
|
@ -3528,6 +3528,19 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.sysconfig",
|
||||
"options": {
|
||||
"kernel": {
|
||||
"update_default": true,
|
||||
"default_kernel": "kernel"
|
||||
},
|
||||
"network": {
|
||||
"networking": true,
|
||||
"no_zero_conf": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
@ -10321,6 +10334,16 @@
|
|||
"udisks2.service",
|
||||
"unbound-anchor.timer"
|
||||
],
|
||||
"sysconfig": {
|
||||
"kernel": {
|
||||
"DEFAULTKERNEL": "kernel",
|
||||
"UPDATEDEFAULT": "yes"
|
||||
},
|
||||
"network": {
|
||||
"NETWORKING": "yes",
|
||||
"NOZEROCONF": "yes"
|
||||
}
|
||||
},
|
||||
"timezone": "New_York"
|
||||
}
|
||||
}
|
||||
|
|
@ -3468,6 +3468,19 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.sysconfig",
|
||||
"options": {
|
||||
"kernel": {
|
||||
"update_default": true,
|
||||
"default_kernel": "kernel"
|
||||
},
|
||||
"network": {
|
||||
"networking": true,
|
||||
"no_zero_conf": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
@ -10168,6 +10181,16 @@
|
|||
"tuned.service",
|
||||
"unbound-anchor.timer"
|
||||
],
|
||||
"sysconfig": {
|
||||
"kernel": {
|
||||
"DEFAULTKERNEL": "kernel",
|
||||
"UPDATEDEFAULT": "yes"
|
||||
},
|
||||
"network": {
|
||||
"NETWORKING": "yes",
|
||||
"NOZEROCONF": "yes"
|
||||
}
|
||||
},
|
||||
"timezone": "New_York"
|
||||
}
|
||||
}
|
||||
|
|
@ -3573,6 +3573,19 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.sysconfig",
|
||||
"options": {
|
||||
"kernel": {
|
||||
"update_default": true,
|
||||
"default_kernel": "kernel"
|
||||
},
|
||||
"network": {
|
||||
"networking": true,
|
||||
"no_zero_conf": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
@ -10278,6 +10291,16 @@
|
|||
"tuned.service",
|
||||
"unbound-anchor.timer"
|
||||
],
|
||||
"sysconfig": {
|
||||
"kernel": {
|
||||
"DEFAULTKERNEL": "kernel",
|
||||
"UPDATEDEFAULT": "yes"
|
||||
},
|
||||
"network": {
|
||||
"NETWORKING": "yes",
|
||||
"NOZEROCONF": "yes"
|
||||
}
|
||||
},
|
||||
"timezone": "London"
|
||||
}
|
||||
}
|
||||
|
|
@ -3499,6 +3499,19 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.sysconfig",
|
||||
"options": {
|
||||
"kernel": {
|
||||
"update_default": true,
|
||||
"default_kernel": "kernel"
|
||||
},
|
||||
"network": {
|
||||
"networking": true,
|
||||
"no_zero_conf": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
@ -10248,6 +10261,16 @@
|
|||
"unbound-anchor.timer",
|
||||
"waagent.service"
|
||||
],
|
||||
"sysconfig": {
|
||||
"kernel": {
|
||||
"DEFAULTKERNEL": "kernel",
|
||||
"UPDATEDEFAULT": "yes"
|
||||
},
|
||||
"network": {
|
||||
"NETWORKING": "yes",
|
||||
"NOZEROCONF": "yes"
|
||||
}
|
||||
},
|
||||
"timezone": "New_York"
|
||||
}
|
||||
}
|
||||
|
|
@ -3357,6 +3357,19 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.sysconfig",
|
||||
"options": {
|
||||
"kernel": {
|
||||
"update_default": true,
|
||||
"default_kernel": "kernel"
|
||||
},
|
||||
"network": {
|
||||
"networking": true,
|
||||
"no_zero_conf": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
@ -9873,6 +9886,16 @@
|
|||
"vgauthd.service",
|
||||
"vmtoolsd.service"
|
||||
],
|
||||
"sysconfig": {
|
||||
"kernel": {
|
||||
"DEFAULTKERNEL": "kernel",
|
||||
"UPDATEDEFAULT": "yes"
|
||||
},
|
||||
"network": {
|
||||
"NETWORKING": "yes",
|
||||
"NOZEROCONF": "yes"
|
||||
}
|
||||
},
|
||||
"timezone": "New_York"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue