test:1
This commit is contained in:
@@ -21,7 +21,7 @@ resource "vsphere_virtual_machine" "test-starrocks-fe-vm" {
|
|||||||
vapp {
|
vapp {
|
||||||
properties = {
|
properties = {
|
||||||
"user-data" = base64encode(templatefile("${path.module}/cloud-init.tpl", {
|
"user-data" = base64encode(templatefile("${path.module}/cloud-init.tpl", {
|
||||||
ip_addr = "192.168.61.170"
|
ip_addr = "192.168.61.171"
|
||||||
gateway = "192.168.61.1"
|
gateway = "192.168.61.1"
|
||||||
dns1 = "192.168.61.1"
|
dns1 = "192.168.61.1"
|
||||||
dns2 = "114.114.114.114"
|
dns2 = "114.114.114.114"
|
||||||
@@ -34,7 +34,7 @@ resource "vsphere_virtual_machine" "test-starrocks-fe-vm" {
|
|||||||
type = "ssh"
|
type = "ssh"
|
||||||
user = "ubuntu"
|
user = "ubuntu"
|
||||||
private_key = var.ssh_private_key_content
|
private_key = var.ssh_private_key_content
|
||||||
host = "192.168.61.170"
|
host = "192.168.61.171"
|
||||||
timeout = "2m"
|
timeout = "2m"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user