Code Review
/
yaml_builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update node lables for tenant-ceph and nova
[yaml_builds.git]
/
site_type
/
sriov-a13
/
templates
/
baremetal
/
nodes.j2
diff --git
a/site_type/sriov-a13/templates/baremetal/nodes.j2
b/site_type/sriov-a13/templates/baremetal/nodes.j2
index
e786d86
..
20f978b
100644
(file)
--- a/
site_type/sriov-a13/templates/baremetal/nodes.j2
+++ b/
site_type/sriov-a13/templates/baremetal/nodes.j2
@@
-143,7
+143,11
@@
data:
- network: calico
address: {{server.ksn}}
# NEWSITE-CHANGEME: The next node's host profile
- network: calico
address: {{server.ksn}}
# NEWSITE-CHANGEME: The next node's host profile
+{% if loop.index < 3 %}
host_profile: cp_r720-primary
host_profile: cp_r720-primary
+{% else %}
+ host_profile: cp_r720-secondary
+{% endif %}
metadata:
# NEWSITE-CHANGEME: The next node's rack designation
rack: cab23
metadata:
# NEWSITE-CHANGEME: The next node's rack designation
rack: cab23