livemedia-creator: Padd disk size by 2MiB
When using GPT it reserves a few more sectors at the end of the disk for the copy of the GPT so pad the size of the partitions in the kickstart by 2MiB instead of 1MiB to account for this.
This commit is contained in:
parent
ffa40722dd
commit
bb445e2deb
@ -823,7 +823,7 @@ def make_image(opts, ks):
|
||||
|
||||
Use virt-install or anaconda to install to a disk image.
|
||||
"""
|
||||
disk_size = 1 + sum(p.size for p in ks.handler.partition.partitions)
|
||||
disk_size = 2 + sum(p.size for p in ks.handler.partition.partitions)
|
||||
log.info("disk_size = %sMiB", disk_size)
|
||||
|
||||
if opts.image_name:
|
||||
|
Loading…
Reference in New Issue
Block a user