rhel84,osbuild2: add system ID to ISO
New stage option added in osbuild https://github.com/osbuild/osbuild/pull/611 System ID is used by osinfo to identify the RHEL boot ISOs, where the system ID is "LINUX".
This commit is contained in:
parent
8c92553623
commit
f8b3b3f7e2
2 changed files with 4 additions and 0 deletions
|
|
@ -726,6 +726,7 @@ func (t *imageTypeS2) xorrisofsStageOptions() *osbuild.XorrisofsStageOptions {
|
|||
return &osbuild.XorrisofsStageOptions{
|
||||
Filename: t.Filename(),
|
||||
VolID: fmt.Sprintf("RHEL-8-4-0-BaseOS-%s", t.Arch().Name()),
|
||||
SysID: "LINUX",
|
||||
Boot: osbuild.XorrisofsBoot{
|
||||
Image: "isolinux/isolinux.bin",
|
||||
Catalog: "isolinux/boot.cat",
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ type XorrisofsStageOptions struct {
|
|||
// Volume ID to set
|
||||
VolID string `json:"volid"`
|
||||
|
||||
// System ID to set
|
||||
SysID string `json:"sysid,omitempty"`
|
||||
|
||||
Boot XorrisofsBoot `json:"boot,omitempty"`
|
||||
|
||||
EFI string `json:"efi,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue