osbuild: add partuuid into the partition struct
The partuuid is a uuid of a specific GPT partition as opposed to the ptuuid which is associated with the partition table and filesystem uuid which is associated with a filesystem on a partition. The support for partuuid was introduced in osbuild 11, see this PR for reference: https://github.com/osbuild/osbuild/pull/306
This commit is contained in:
parent
bb85acf36f
commit
cdb4b72cf0
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ type QEMUPartition struct {
|
||||||
Size uint64 `json:"size,omitempty"`
|
Size uint64 `json:"size,omitempty"`
|
||||||
Type *uuid.UUID `json:"type,omitempty"`
|
Type *uuid.UUID `json:"type,omitempty"`
|
||||||
Bootable bool `json:"bootable,omitempty"`
|
Bootable bool `json:"bootable,omitempty"`
|
||||||
|
UUID *uuid.UUID `json:"uuid,omitempty"`
|
||||||
Filesystem QEMUFilesystem `json:"filesystem"`
|
Filesystem QEMUFilesystem `json:"filesystem"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue