Skip to content

Commit ea43b82

Browse files
committed
Oz: don't hardcode the image size unit as 'G'
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]>
1 parent 119ec31 commit ea43b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/kojid

+1-1
Original file line numberDiff line numberDiff line change
@@ -4101,7 +4101,7 @@ class OzImageTask(BaseTaskHandler):
41014101
template += """</os>
41024102
<description>%s OS</description>
41034103
<disk>
4104-
<size>%sG</size>
4104+
<size>%s</size>
41054105
</disk>
41064106
</template>
41074107
""" % (name, self.opts.get('disk_size')) # noqa: E501

0 commit comments

Comments
 (0)