# Problems while deploying VM's with Vsphere provider

**URL:** <https://discuss.hashicorp.com/t/problems-while-deploying-vms-with-vsphere-provider/72914>\
**Category:** Terraform\
**Created:** [January 29, 2025, 3:04pm UTC](https://discuss.hashicorp.com/t/problems-while-deploying-vms-with-vsphere-provider/72914 "2025-01-29T15:04:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebsot](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sebsot/32/43950_2.png) [@sebsot](https://discuss.hashicorp.com/u/sebsot)\
**Post date:** [January 29, 2025, 3:04pm UTC](https://discuss.hashicorp.com/t/problems-while-deploying-vms-with-vsphere-provider/72914/1 "2025-01-29T15:04:11Z")

</div>

Hi, im currently trying to deploy VM’s from terraform using the vsphere provider (terraform version v1.10.4 and vsphere provider v2.10.0) and i get an error when i try to deploy them from a template.  
The main issue is when i use the customize option , where is the moment i get the error.  
I get the following error:  
2025-01-29T11:23:57.910-0300 [ERROR] provider.terraform-provider-vsphere\_v2.10.0\_x5: Response contains error diagnostic: diagnostic\_detail=“” tf\_proto\_version=5.6 tf\_provider\_addr=provider tf\_req\_id=8e1a640b-5042-bc69-e015-5443b487fe41 @caller=[github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov5/internal/diag/diagnostics.go:58](http://github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov5/internal/diag/diagnostics.go:58) @module=sdk.proto diagnostic\_severity=ERROR diagnostic\_summary=“error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf\_resource\_type=vsphere\_virtual\_machine tf\_rpc=ApplyResourceChange timestamp=2025-01-29T11:23:57.910-0300  
2025-01-29T11:23:57.917-0300 [DEBUG] State storage \*statemgr.Filesystem declined to persist a state snapshot  
2025-01-29T11:23:57.917-0300 [ERROR] vertex “vsphere\_virtual\_machine.vm” error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:  
╷  
│ Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:  
│  
│ with vsphere\_virtual\_machine.vm,  
│ on main\_debian12.tf line 44, in resource “vsphere\_virtual\_machine” “vm”:  
│ 44: resource “vsphere\_virtual\_machine” “vm” {  
│  
╵  
2025-01-29T11:23:57.925-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err=“rpc error: code = Unavailable desc = error reading from server: EOF”  
2025-01-29T11:23:57.926-0300 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.10.0/linux\_amd64/terraform-provider-vsphere\_v2.10.0\_x5 id=365991  
2025-01-29T11:23:57.927-0300 [DEBUG] provider: plugin exited  
user@server:~/terraform$ 2025-01-29T11:23:57.910-0300 [ERROR] provider.terraform-provider-vsphere\_v2.10.0\_x5: Response contains error diagnostic: diagnostic\_detail=”" tf\_proto\_version=5.6 tf\_provider\_addr=provider tf\_req\_id=8e1a640b-5042-bc69-e015-5443b487fe41 @caller=[github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov5/internal/diag/diagnostics.go:58](http://github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov5/internal/diag/diagnostics.go:58) @module=sdk.proto diagnostic\_severity=ERROR diagnostic\_summary="error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf\_resource\_type=vsphere\_virtual\_machine tf\_rpc=ApplyResourceChange timestamp=2025-01-29T11:23:57.910-0300  
\*_2025-01-29T11:23:57.917-0300 [DEBUG] State storage statemgr.Filesystem declined to persist a state snapshot_  
2025-01-29T11:23:57.917-0300 [ERROR] vertex “vsphere\_virtual\_machine.vm” error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:  
╷  
│ Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:  
│  
│ with vsphere\_virtual\_machine.vm,  
│ on main\_debian12.tf line 44, in resource “vsphere\_virtual\_machine” “vm”:  
│ 44: resource “vsphere\_virtual\_machine” “vm” {  
│  
╵  
2025-01-29T11:23:57.925-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err=“rpc error: code = Unavailable desc = error reading from server: EOF”  
2025-01-29T11:23:57.926-0300 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.10.0/linux\_amd64/terraform-provider-vsphere\_v2.10.0\_x5 id=365991  
2025-01-29T11:23:57.927-0300 [DEBUG] provider: plugin exited

Someone told me that the text marked in bold might be important.  
i also give you the customize part

clone {  
template\_uuid = data.vsphere\_virtual\_machine.template.id

```
customize {
  linux_options {
    host_name = "server"
    domain = "domain"
  }

  network_interface {
    ipv4_address = "1.1.1.2"
    ipv4_netmask = 24
  }
  ipv4_gateway = "1.1.1.254"
  dns_server_list = ["10.1.2.3", "10.1.2.9"]
}

```

}  
}  
The ip’s are examples  
I tried using .OVA templates like the terraforms docs told me to, but i was unsuccesful. Template is from a Debian 12. I would love to get some help please  
cheers !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/hashicorp/original/1X/79bf76adfd92a75631996933098f9ce29d37abf3.svg) [@system](https://discuss.hashicorp.com/u/system)\
**Post date:** [July 28, 2025, 3:04pm UTC](https://discuss.hashicorp.com/t/problems-while-deploying-vms-with-vsphere-provider/72914/2 "2025-07-28T15:04:40Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
