admin管理员组文章数量:1200423
I'm trying to deploy a VM from terraform using the vsphere provider and i keep getting this error:
Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason
I have the "error" on this part of the config file:
resource "vsphere_virtual_machine" "vm" {
name = "stmp2001lx"
resource_pool_id = data.vsphere_compute_cluster.cluster.resource_pool_id
datastore_id = data.vsphere_datastore.datastore.id
num_cpus = 2
memory = 4096
guest_id = "debian10_64Guest"
network_interface {
network_id = data.vsphere_networkwork.id
adapter_type = data.vsphere_virtual_machine.templatework_interface_types[0]
}
disk {
label = data.vsphere_virtual_machine.template.disks[0].label
size = data.vsphere_virtual_machine.template.disks[0].size
}
}
I'm trying to building it from a template, which has Debian 12 as OS, it has a 6.5 Esxi Compatibility or more.
I have 3 hosts where 2 of them are Esxi 6.7 and the other one is 7.0.
I don't know what the problem is, i would really appreciate the help because I'm stuck here with no solution.
Thanks !
I tried deploying a VM and got this error.
本文标签: templatesCustomization spec error while trying to deploy VM from vsphere providerStack Overflow
版权声明:本文标题:templates - Customization spec error while trying to deploy VM from vsphere provider - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738561062a2099243.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论