diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-04-15 16:26:53 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-04-15 16:32:16 +0200 |
commit | d28d36ac3a12e4bb9ce56767d50267801cea650b (patch) | |
tree | 3280be678d5212563248c4a6e415b89656485f36 /scripts | |
parent | 0d6fafab9774577d209364db0bdf2d2c9d151773 (diff) | |
download | vyos-build-d28d36ac3a12e4bb9ce56767d50267801cea650b.tar.gz vyos-build-d28d36ac3a12e4bb9ce56767d50267801cea650b.zip |
set image size to 10 gigabyte
Diffstat (limited to 'scripts')
-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% |