Revert "By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5."

This reverts commit 55fadd96bc.
pull/2646/head
Chris Bednarski 11 years ago
parent c8d1c650f0
commit bf733b75d5

@ -201,13 +201,12 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
b.config.VNCPortMax = 6000
}
if b.config.Format == "" {
b.config.Format = "qcow2"
if b.config.VMName == "" {
b.config.VMName = fmt.Sprintf("packer-%s", b.config.PackerBuildName)
}
if b.config.VMName == "" {
b.config.VMName = fmt.Sprintf("packer-%s.%s",
b.config.PackerBuildName, b.config.Format)
if b.config.Format == "" {
b.config.Format = "qcow2"
}
if b.config.FloppyFiles == nil {

Loading…
Cancel
Save