mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
builder/vmware: set proper default disk type for esx
This commit is contained in:
parent
148d7c06ab
commit
a4b54f1cf3
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue