From cefa45c0b4cf175d1db7101a9f42ef3de04ac306 Mon Sep 17 00:00:00 2001 From: Alexandre MERLIN <alexandre.merlin@inria.fr> Date: Tue, 13 Dec 2022 09:53:20 +0100 Subject: [PATCH] [gen/kadeploy] place custom variable to use when using tftp instead of http --- lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb b/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb index 062302490db..c4c44f9b57e 100644 --- a/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb +++ b/lib/refrepo/gen/puppet/templates/kadeployg5k.conf.erb @@ -128,3 +128,7 @@ automata: - timeout: <%= data['boot.timeout.1'] %> type: HardReboot retries: 0 +<%- if data['force_tftp'] -%> +custom_variables: + FORCE_TFTP="1" +<%- end -%> -- GitLab