builder/vmware: set proper default disk type for esx
This commit is contained in:
parent
148d7c06ab
commit
a4b54f1cf3
|
@ -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…
Reference in New Issue