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.

pull/919/head
Tom Hite 13 years ago
parent 37f64c9541
commit ba1ca4d2fb

@ -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") {

Loading…
Cancel
Save