This commit is contained in:
Chris Long
2020-08-06 23:50:40 -07:00

View File

@@ -30,8 +30,8 @@ resource "esxi_guest" "logger" {
provisioner "remote-exec" { provisioner "remote-exec" {
inline = [ inline = [
"sudo ifconfig up eth1 || echo 'eth1 up'", "sudo ifconfig eth1 up || echo 'eth1 up'",
"sudo ifconfig up eth2 || echo 'eth2 up'", "sudo ifconfig eth2 up || echo 'eth2 up'",
"sudo route add default gw 192.168.76.1 || echo 'route exists'" "sudo route add default gw 192.168.76.1 || echo 'route exists'"
] ]