Code of Conduct
Packer Version
1.15.4
Packer Plugin Version
2.1.2
Plugin Builder
Plugin Post-Processor
vSphere Version
8.0.3
Description
#560 introduced a bug where the VM that should be marked as a template is incorrectly detected as an existing template when the VM name is used as the template name.
Packer Configuration
post-processor "vsphere-template" {
host = "vcenter.example.org"
username = var.username
password = var.password
datacenter = "DC"
folder = "/Templates"
}
Debug Output
N/A
Panic Output
No response
Expected Behavior
When the VM name and template name are the same, the VM should be converted to a template.
Actual Behavior
When the VM name and template name are the same, the VM is detected as an existing template. This causes the post-processor to fail.
Steps to Reproduce
Use vsphere-template to mark a VM as a template.
Make sure the VM name is used as the template name.
Environment Details
No response
Screenshots
No response
References
No response
Code of Conduct
Packer Version
1.15.4
Packer Plugin Version
2.1.2
Plugin Builder
Plugin Post-Processor
vSphere Version
8.0.3
Description
#560 introduced a bug where the VM that should be marked as a template is incorrectly detected as an existing template when the VM name is used as the template name.
Packer Configuration
Debug Output
N/A
Panic Output
No response
Expected Behavior
When the VM name and template name are the same, the VM should be converted to a template.
Actual Behavior
When the VM name and template name are the same, the VM is detected as an existing template. This causes the post-processor to fail.
Steps to Reproduce
Use vsphere-template to mark a VM as a template.
Make sure the VM name is used as the template name.
Environment Details
No response
Screenshots
No response
References
No response