change image size to fulfill Azure requirements

the hardcoded image size is now aligned to 1MB, because Azure requires
it: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic

once we make the size configurable, we should make sure the alignment
stays the same

fix test cases to reflect new image size
This commit is contained in:
Martin Sehnoutka 2019-11-21 13:30:53 +01:00 committed by Tom Gundersen
parent ea73597c5d
commit 4910cd18e3
15 changed files with 25 additions and 23 deletions

View file

@ -111,7 +111,7 @@
"filename": "image.qcow2",
"ptuuid": "0x14fc63d2",
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"size": 3221225472
"size": 3222274048
}
}
},
@ -574,7 +574,7 @@
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"size": 3221225472,
"start": 1048576,
"type": "83",
"uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac"