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:26:53 +0200 |
commit | 812c2aa56d15176001fc295fd1716e0c8fed3cef (patch) | |
tree | 2703a9afec786c771bf0ad52686ce235c5b348bb /scripts | |
parent | c90920319179c5d05869cf32225d7d5d11b9147e (diff) | |
download | vyos-build-812c2aa56d15176001fc295fd1716e0c8fed3cef.tar.gz vyos-build-812c2aa56d15176001fc295fd1716e0c8fed3cef.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% |