diff --git a/ood-instance/main.tf b/ood-instance/main.tf index 8fd28e1e2f4e778c0eb574c890bb40e362d56b74..8b6a5d95103aaeb95092cc3d98217778ba10ba4d 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