builder/vmware: set proper default disk type for esx

pull/610/head
Mitchell Hashimoto 13 years ago
parent 13a420fe50
commit 8dba90e4ad

@ -100,6 +100,10 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
if b.config.DiskTypeId == "" {
// Default is growable virtual disk split in 2GB files.
b.config.DiskTypeId = "1"
if b.config.RemoteType == "esx5" {
b.config.DiskTypeId = "zeroedthick"
}
}
if b.config.FloppyFiles == nil {

Loading…
Cancel
Save