Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 68823467 authored by Alexandre MERLIN's avatar Alexandre MERLIN
Browse files

[gen/kadeploy] adapt cluster configuration to kadeploy3.6

parent a25feed9
No related branches found
No related tags found
No related merge requests found
Pipeline #282985 passed
...@@ -4,18 +4,18 @@ ...@@ -4,18 +4,18 @@
# #
--- ---
partitioning: partitioning:
block_device: /dev/sda deploy_label: DEPLOY
block_device: disk0
script: /etc/kadeploy3<%= suffix %>/<%= ! data['partitioning.script'].nil? ? data['partitioning.script'] : "partitioning.sh" %> script: /etc/kadeploy3<%= suffix %>/<%= ! data['partitioning.script'].nil? ? data['partitioning.script'] : "partitioning.sh" %>
<%- if !data['formating.script'].nil? && !data['formating.script'].empty? -%> <%- if !data['formating.script'].nil? && !data['formating.script'].empty? -%>
formating_script: /etc/kadeploy3<%= suffix %>/<%= data['formating.script'] %> formating_script: /etc/kadeploy3<%= suffix %>/<%= data['formating.script'] %>
<%- end -%> <%- end -%>
partitions: disk_path:
tmp: 5 <%- cluster['nodes'].values.first['storage_devices'].reject{|disk| disk['reservation']}.each do |disk| -%>
prod: 2 <%= disk['id'] %>: <%= disk['by_path'] %>
deploy: 3 <%- end -%>
swap: 1
trusted_deployment: trusted_deployment:
partition: /dev/sda<%= suffix.empty? ? "2":"3"%> partition: disk0/PROD
user: oar user: oar
<% if data['trusted_env'] %> <% if data['trusted_env'] %>
envs: envs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment