summaryrefslogtreecommitdiff
path: root/scripts/build-azure-image
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-04-15 16:26:53 +0200
committerKim Hagen <kim.sidney@gmail.com>2019-04-15 16:26:53 +0200
commit812c2aa56d15176001fc295fd1716e0c8fed3cef (patch)
tree2703a9afec786c771bf0ad52686ce235c5b348bb /scripts/build-azure-image
parentc90920319179c5d05869cf32225d7d5d11b9147e (diff)
downloadvyos-build-812c2aa56d15176001fc295fd1716e0c8fed3cef.tar.gz
vyos-build-812c2aa56d15176001fc295fd1716e0c8fed3cef.zip
set image size to 10 gigabyte
Diffstat (limited to 'scripts/build-azure-image')
-rwxr-xr-xscripts/build-azure-image4
1 files changed, 2 insertions, 2 deletions
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%