Skip to content

Commit

Permalink
Oz: don't hardcode the image size unit as 'G'
Browse files Browse the repository at this point in the history
This has never been necessary, because oz has always treated a
size with no unit as being in gibibytes. After
clalancette/oz#310 it will be actively
harmful, because it will prevent us from using that new ability
of oz to specify a size using any other unit, as we have a
specific reason to want:
https://bugzilla.redhat.com/show_bug.cgi?id=2247611

Signed-off-by: Adam Williamson <[email protected]>
  • Loading branch information
AdamWill committed Jan 26, 2024
1 parent 119ec31 commit ea43b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/kojid
Original file line number Diff line number Diff line change
Expand Up @@ -4101,7 +4101,7 @@ class OzImageTask(BaseTaskHandler):
template += """</os>
<description>%s OS</description>
<disk>
<size>%sG</size>
<size>%s</size>
</disk>
</template>
""" % (name, self.opts.get('disk_size')) # noqa: E501
Expand Down

0 comments on commit ea43b82

Please sign in to comment.