Skip to content

Commit f0c94a9

Browse files
committed
vm_image_util: Use larger rootfs for AWS and Akamai images
The default rootfs size for the .bin raw iamge is a bit smaller now because we still want to be able to flash to 8 GB storage. However, the VM images still have the 6 GB rootfs as before. Some cloud images weren't using the larger VM rootfs size though but the raw image rootfs size. Specify that AWS and Akamai images should use the larger VM rootfs size. Signed-off-by: Kai Lueke <kailuke@microsoft.com>
1 parent 07cc851 commit f0c94a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_library/vm_image_util.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,11 @@ IMG_ami_vmdk_DISK_FORMAT=vmdk_stream
224224
IMG_ami_vmdk_OEM_USE=ami
225225
IMG_ami_vmdk_OEM_PACKAGE=common-oem-files
226226
IMG_ami_vmdk_SYSEXT=oem-ami
227+
IMG_ami_vmdk_DISK_LAYOUT=vm
227228
IMG_ami_OEM_USE=ami
228229
IMG_ami_OEM_PACKAGE=common-oem-files
229230
IMG_ami_OEM_SYSEXT=oem-ami
231+
IMG_ami_DISK_LAYOUT=vm
230232

231233
## openstack
232234
IMG_openstack_DISK_FORMAT=qcow2
@@ -342,6 +344,7 @@ IMG_kubevirt_OEM_SYSEXT=oem-kubevirt
342344
IMG_kubevirt_DISK_EXTENSION=qcow2
343345

344346
## akamai (Linode)
347+
IMG_akamai_DISK_LAYOUT=vm
345348
IMG_akamai_OEM_PACKAGE=common-oem-files
346349
IMG_akamai_OEM_USE=akamai
347350
IMG_akamai_OEM_SYSEXT=oem-akamai

0 commit comments

Comments
 (0)