rhel85/90: use random FS UUID for /boot partition on ec2 and ami
Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
4a83c0596f
commit
a9c280a2fc
2 changed files with 2 additions and 2 deletions
|
|
@ -203,7 +203,7 @@ func ec2PartitionTable(imageOptions distro.ImageOptions, arch distro.Arch, rng *
|
|||
UUID: "CB07C243-BC44-4717-853E-28852021225B",
|
||||
Filesystem: &disk.Filesystem{
|
||||
Type: "xfs",
|
||||
UUID: "2AE383D1-F57C-4F04-A1BD-32FC12A578EA",
|
||||
UUID: uuid.Must(newRandomUUIDFromReader(rng)).String(),
|
||||
Mountpoint: "/boot",
|
||||
FSTabOptions: "defaults",
|
||||
FSTabFreq: 0,
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ func ec2PartitionTable(imageOptions distro.ImageOptions, arch distro.Arch, rng *
|
|||
UUID: "CB07C243-BC44-4717-853E-28852021225B",
|
||||
Filesystem: &disk.Filesystem{
|
||||
Type: "xfs",
|
||||
UUID: "2AE383D1-F57C-4F04-A1BD-32FC12A578EA",
|
||||
UUID: uuid.Must(newRandomUUIDFromReader(rng)).String(),
|
||||
Mountpoint: "/boot",
|
||||
FSTabOptions: "defaults",
|
||||
FSTabFreq: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue