我有一个仅具有网桥接口(br0)的vsphere VM模板。在使用Terraform克隆vsphere VM模板之后。我想更改br0网络接口IP。
如何使用Terraform做到这一点?哪个参数针对br0?
clone {
template_uuid = "${data.vsphere_virtual_machine.template.id}"
customize {
linux_options {
host_name = "TestVZ0${count.index+1}-CentOS7"
domain = "test.com"
}
network_interface {}
dns_server_list = ["192.168.10.1","192.168.11.1"]
dns_suffix_list = ["test.com"]
}
}