From fb8776bf8425f0d78837fa3e60ef6c82eaaa050a Mon Sep 17 00:00:00 2001 From: djpbessems Date: Wed, 3 Feb 2021 14:20:39 +0100 Subject: [PATCH] New vApp properties, ignoring deploymentoptions --- terraform/vm.tf | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/terraform/vm.tf b/terraform/vm.tf index d241dc8..07060d9 100644 --- a/terraform/vm.tf +++ b/terraform/vm.tf @@ -26,11 +26,19 @@ resource "vsphere_virtual_machine" "TF-SRV01" { vapp { properties = { - "guestinfo.hostname" = "TF-SRV01" - "guestinfo.ipaddress" = "10.0.0.42" - "guestinfo.prefixlength" = "24" - "guestinfo.dnsserver" = "10.0.0.5" - "guestinfo.gateway" = "10.0.0.1" + "deployment.type" = "standalone" + + "guestinfo.hostname" = "TF-SRV01" + "guestinfo.administratorpw" = "Secret123!" + "guestinfo.ntpserver" = "0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org" + "guestinfo.ipaddress" = "10.0.0.42" + "guestinfo.prefixlength" = "24" + "guestinfo.dnsserver" = "10.0.0.5" + "guestinfo.gateway" = "10.0.0.1" + + "addsconfig.domainname" = "" + "addsconfig.username" = "" + "addsconfig.password" = "" } }