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
enable calico mesh if no peers in input
[yaml_builds.git]
/
templates
/
profiles
/
host
/
compute-r01.j2
diff --git
a/templates/profiles/host/compute-r01.j2
b/templates/profiles/host/compute-r01.j2
index
be609de
..
4e942be
100644
(file)
--- a/
templates/profiles/host/compute-r01.j2
+++ b/
templates/profiles/host/compute-r01.j2
@@
-74,7
+74,7
@@
data:
physical_devices:
{% for disk in yaml.disks_compute %}
{{disk.name}}:
physical_devices:
{% for disk in yaml.disks_compute %}
{{disk.name}}:
- {% if
disk.labels
%}
+ {% if
'labels' in disk
%}
labels:
{% for key, value in disk.labels.items() %}
{{key}}: '{{value}}'
labels:
{% for key, value in disk.labels.items() %}
{{key}}: '{{value}}'