Skip to content
Snippets Groups Projects
Commit c70221df authored by Kevin Wolf's avatar Kevin Wolf Committed by Michael Roth
Browse files

vpc: Fix size in fixed image creation


If total_sectors is rounded to match the geometry, total_size needs to
be changed as well. Otherwise we end up with an image whose geometry
describes a disk larger than the image file, which doesn't end well.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
(cherry picked from commit c7dd631d482912fd615a9ef18a0e0691e7a84836)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 07db6859
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment