You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel: "{{ item.1.id if is_baremetal else omit }}"
115
115
ramdisk: "{{ item.2.id if is_baremetal else omit }}"
116
116
vars:
117
+
# NOTE(m-anson): When architecture isn't defined for an
118
+
# image, assume that we should set cpu_arch: x86_64 as
119
+
# this is the diskimage-builder default.
120
+
cpu_arch_properties: >-
121
+
{{
122
+
{}
123
+
if item.0.architecture is defined
124
+
else {"cpu_arch": "x86_64"}
125
+
}}
117
126
is_baremetal: "{{ item.0.elements is defined and 'baremetal' in item.0.elements }}"
118
127
visibility: "{{ item.0.visibility | default(item.0.is_public | ternary('public', 'private') if item.0.is_public is defined else os_images_visibility) }}"
0 commit comments