distro: Use GibiByte constant for Azure 64GiB Images

instead of using 68719476736, use 64 * common.GibiByte
This commit is contained in:
Brian C. Lane 2022-10-27 11:22:53 -07:00 committed by Tomáš Hozza
parent 12c7f12d16
commit e4f7e94dd0
3 changed files with 3 additions and 3 deletions

View file

@ -403,7 +403,7 @@ var azureRhuiImgType = imageType{
},
kernelOptions: "ro crashkernel=auto console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300 scsi_mod.use_blk_mq=y",
bootable: true,
defaultSize: 68719476736,
defaultSize: 64 * common.GibiByte,
pipelines: vhdPipelines(true),
buildPipelines: []string{"build"},
payloadPipelines: []string{"os", "image", "vpc", "archive"},

View file

@ -581,7 +581,7 @@ var azureRhuiImgType = imageType{
defaultImageConfig: defaultAzureRhuiImageConfig.InheritFrom(defaultAzureImageConfig),
kernelOptions: defaultAzureKernelOptions,
bootable: true,
defaultSize: 68719476736,
defaultSize: 64 * common.GibiByte,
pipelines: vhdPipelines(true),
buildPipelines: []string{"build"},
payloadPipelines: []string{"os", "image", "vpc", "archive"},

View file

@ -543,7 +543,7 @@ var azureRhuiImgType = imageType{
defaultImageConfig: defaultAzureRhuiImageConfig.InheritFrom(defaultAzureImageConfig),
kernelOptions: defaultAzureKernelOptions,
bootable: true,
defaultSize: 68719476736,
defaultSize: 64 * common.GibiByte,
pipelines: vhdPipelines(true),
buildPipelines: []string{"build"},
payloadPipelines: []string{"os", "image", "vpc", "archive"},