use bash syntax

This commit is contained in:
Attila Bogar 2016-11-17 19:20:41 +00:00 committed by Aaron Bull Schaefer
parent 3f2ac7e735
commit 227f42add6

View file

@ -3,7 +3,7 @@
# stop on errors
set -eu
if [ "$PACKER_BUILDER_TYPE" == "qemu" ]
if [[ "$PACKER_BUILDER_TYPE" == "qemu" ]]
then
DISK='/dev/vda'
else