Mentions légales du service

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

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

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