From ba1ca4d2fb670fa195f0b2c73c1013205411d543 Mon Sep 17 00:00:00 2001 From: Tom Hite Date: Tue, 3 Sep 2013 20:13:45 -0500 Subject: [PATCH] changed error string referring to 'ova' and 'ovf' to refer to 'qcow2' and 'img' as the former were stray leftovers from the virtualbox code used as a basis for this plugin. --- builder/qemu/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/qemu/builder.go b/builder/qemu/builder.go index 1a7afc4d2..1568843ae 100644 --- a/builder/qemu/builder.go +++ b/builder/qemu/builder.go @@ -219,7 +219,7 @@ func (b *Builder) Prepare(raws ...interface{}) error { if !(b.config.Format == "qcow2" || b.config.Format == "raw") { errs = packer.MultiErrorAppend( - errs, errors.New("invalid format, only 'ovf' or 'ova' are allowed")) + errs, errors.New("invalid format, only 'qcow2' or 'img' are allowed")) } if !(b.config.Accelerator == "kvm" || b.config.Accelerator == "xen") {