ditro/rhel86: set volid like in rhel9.0

This is only required in RHEL9.0, but best practice is to always pin these things
down. Also increases uniformity between distros.

Simplify a bit the volid generator by making it require `rand.Rand` rather than
`io.Reader`, and hence eliminating the need for error handling.
This commit is contained in:
Tom Gundersen 2022-02-27 18:20:15 +00:00
parent 154e966cda
commit 973b5141b3
7 changed files with 18 additions and 22 deletions

View file

@ -1315,7 +1315,7 @@
{
"type": "org.osbuild.mkfs.fat",
"options": {
"volid": ""
"volid": "a178892e"
},
"devices": {
"device": {

View file

@ -1358,7 +1358,7 @@
{
"type": "org.osbuild.mkfs.fat",
"options": {
"volid": ""
"volid": "a178892e"
},
"devices": {
"device": {

View file

@ -1312,7 +1312,7 @@
{
"type": "org.osbuild.mkfs.fat",
"options": {
"volid": ""
"volid": "a178892e"
},
"devices": {
"device": {

View file

@ -1355,7 +1355,7 @@
{
"type": "org.osbuild.mkfs.fat",
"options": {
"volid": ""
"volid": "a178892e"
},
"devices": {
"device": {