From e462bd5847498ce25b670f4353f0b703fffdf127 Mon Sep 17 00:00:00 2001
From: John-Paul Robinson <jpr@uab.edu>
Date: Thu, 24 Oct 2019 16:26:05 -0500
Subject: [PATCH] Remove test code subcommand from ood user-data script

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

diff --git a/ood-instance/main.tf b/ood-instance/main.tf
index 8fd28e1..8b6a5d9 100644
--- a/ood-instance/main.tf
+++ b/ood-instance/main.tf
@@ -32,7 +32,7 @@ resource "openstack_compute_instance_v2" "ood" {
     #cloud-config
     runcmd:
      - [ bash, -xc, 'ethernet=$(cat /sys/class/net/eth1/address); nodename=$(hostname -s); sed -e "s/MY_HWADDR/$ethernet/" -e "s/MY_NODENAME/$nodename/" -i /warewulf/config;' ]
-     - [ bash, -xc, "echo $(date) ; until WWGETFILES_INTERVAL=0 bash -x /warewulf/bin/wwgetfiles; do echo waiting ; rm -f /tmp/.wwgetfile.lock ; sleep 10; done;" ]
+     - [ bash, -xc, "until WWGETFILES_INTERVAL=0 bash -x /warewulf/bin/wwgetfiles; do echo waiting ; rm -f /tmp/.wwgetfile.lock ; sleep 10; done;" ]
      - [ bash, -xc, "systemctl restart munge" ]
     EOF
 
-- 
GitLab