From 01dcb2ee7959142ce5ed40da30c02c70575c5c64 Mon Sep 17 00:00:00 2001
From: Alexandre MERLIN <alexandre.merlin@inria.fr>
Date: Tue, 20 Apr 2021 13:35:52 +0200
Subject: [PATCH] [kadeploy] fix missing path for kexec script

---
 lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb b/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb
index d199139c3c8..89b5a1977aa 100644
--- a/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb
+++ b/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb
@@ -21,7 +21,7 @@ trusted_deployment:
 <% end %>
 kexec:
   server_precmd: "true"
-  script: /etc/kadeploy3-dev/kexec.sh
+  script: /etc/kadeploy3<%= suffix %>/kexec.sh
   <% if ! data['partitioning.disable_swap'].nil? %>disable_swap: <%= data['partitioning.disable_swap'] %><% end %>
 timeouts:
   reboot: <%= data['reboot.timeout'] %>
-- 
GitLab