From 4059969778b1a2a8e21e2db4fc9d00cb09cfdbd9 Mon Sep 17 00:00:00 2001
From: Ravi Tripathi <ravi89@uab.edu>
Date: Mon, 26 Jun 2023 16:22:41 -0500
Subject: [PATCH] Adding double quotes and , for next item

---
 main.tf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.tf b/main.tf
index 72a746b..0784b24 100644
--- a/main.tf
+++ b/main.tf
@@ -153,7 +153,7 @@ resource "null_resource" "ops" {
   # compute node registration on ohpc
   provisioner "remote-exec" {
     inline = [
-      sed -i -E "s/(ServerName ).*/\1xdmod.${module.create-ohpc-instance.ssh_host}.nip.io/" /etc/httpd/conf.d/xdmod.conf
+      "sed -i -E "s/(ServerName ).*/\1xdmod.${module.create-ohpc-instance.ssh_host}.nip.io/" /etc/httpd/conf.d/xdmod.conf",
       for node, net in module.nodes.network:
     "ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` -e  \"{'cod_deploy':'false', 'compute_nodes':[{'name':'${node}', 'ip':'${net[0].fixed_ip_v4}', 'mac':'${net[0].mac}', 'vnfs':'', 'sockets':'1', 'corespersocket':'1'}]}\" /CRI_XCBC/site-ops.yaml -b -v"]
   }
-- 
GitLab