diff options
-rwxr-xr-x | scripts/build-GCE-image | 2 | ||||
-rwxr-xr-x | scripts/build-azure-image | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build-GCE-image b/scripts/build-GCE-image index 9e2bcaf5..9986e8dc 100755 --- a/scripts/build-GCE-image +++ b/scripts/build-GCE-image @@ -57,7 +57,7 @@ dateymd=$(date +%Y%m%d) PARTED=/sbin/parted OUTPUT=disk.raw OUTPUTGZ=VyOS-"$dateymd".tar.gz -IMAGE_SIZE=2 +IMAGE_SIZE=10 qemu-img create -f raw ${OUTPUT} ${IMAGE_SIZE}G ${PARTED} -s ${OUTPUT} mktable msdos diff --git a/scripts/build-azure-image b/scripts/build-azure-image index d47b4351..48590cb4 100755 --- a/scripts/build-azure-image +++ b/scripts/build-azure-image @@ -56,8 +56,8 @@ dateymd=$(date +%Y%m%d) ###################################### PARTED=/sbin/parted OUTPUT=VyOS-"$dateymd".vhd -IMAGE_SIZE=512 -qemu-img create ${OUTPUT} ${IMAGE_SIZE}M +IMAGE_SIZE=10 +qemu-img create ${OUTPUT} ${IMAGE_SIZE}G ${PARTED} -s ${OUTPUT} mktable msdos ${PARTED} -s -a optimal ${OUTPUT} mkpart primary ext4 1Mi 100% |