aboutsummaryrefslogtreecommitdiff
path: root/release/amd64/mk-azure.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-10-29 16:18:29 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-10-29 16:18:29 +0000
commitf27438c75256f550d9327bf6d3915fc83fd34620 (patch)
treed380677829747f4fb63cf1f36f33e4f0b2732dff /release/amd64/mk-azure.sh
parentd08ce983a7bbe104dfc78c920a86985ae2fd60cc (diff)
downloadsrc-f27438c75256f550d9327bf6d3915fc83fd34620.tar.gz
src-f27438c75256f550d9327bf6d3915fc83fd34620.zip
Avoid hard-coding the Azure image file format.
While here, avoid using OSRELEASE for the output file name. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=273825
Diffstat (limited to 'release/amd64/mk-azure.sh')
-rwxr-xr-xrelease/amd64/mk-azure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/amd64/mk-azure.sh b/release/amd64/mk-azure.sh
index 45b70ae73a1d..43c92040ed35 100755
--- a/release/amd64/mk-azure.sh
+++ b/release/amd64/mk-azure.sh
@@ -132,7 +132,7 @@ vm_create_azure() {
echo "Creating image... Please wait."
- mkimg -f vhdf -s gpt \
+ mkimg -f ${AZURE_FORMAT} -s gpt \
-b /boot/pmbr -p freebsd-boot/bootfs:=/boot/gptboot \
-p freebsd-swap/swapfs::1G \
-p freebsd-ufs/rootfs:=${VMBASE} \