From 1f2dfe6996fd218353906ca12313f54b04a6ae95 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 21 May 2015 12:01:44 -0600 Subject: [PATCH] Don't hit the post-install trigger multiple times Signed-off-by: Zack Cerza --- roles/cobbler/templates/snippets/cephlab_rc_local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cobbler/templates/snippets/cephlab_rc_local b/roles/cobbler/templates/snippets/cephlab_rc_local index 80e4d2ef..c05a5f9a 100644 --- a/roles/cobbler/templates/snippets/cephlab_rc_local +++ b/roles/cobbler/templates/snippets/cephlab_rc_local @@ -17,7 +17,7 @@ fi # Wait just a bit for the network to come up sleep 15 # Run the post-install trigger a second time -wget -O /dev/null "http://$http_server:$http_port/cblr/svc/op/trig/mode/post/system/$system_name" +wget -t1 -O /dev/null "http://$http_server:$http_port/cblr/svc/op/trig/mode/post/system/$system_name" || true touch $lockfile EOF -- 2.47.3