Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R reference-repository
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • grid5000grid5000
  • reference-repository
  • Merge requests
  • !443

[gen/kadeploy] place custom variable to use when using tftp instead of http

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Alexandre MERLIN requested to merge force_tftp_kadeploy into master Dec 13, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Coté ref repo, il faut juste définir "force_tftp" à false par défaut et le placer à true pour les cluster où on veut le forcer

--- a/generators/kadeploy/kadeployg5k-dev.yaml
+++ b/generators/kadeploy/kadeployg5k-dev.yaml
   defaults:
  ...
+  force_tftp: false
   grat:
  ...
+    force_tftp: true

ce qui génère:

--- a/modules/generated/files/grid5000/kadeploy/server_dev/nancy/grat-cluster.conf
+++ b/modules/generated/files/grid5000/kadeploy/server_dev/nancy/grat-cluster.conf
@@ -97,3 +97,5 @@ automata:
     - timeout: 900
       type: HardReboot
       retries: 0
+custom_variables:
+  FORCE_TFTP="1"
Edited Dec 13, 2022 by Alexandre MERLIN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: force_tftp_kadeploy