Skip to content

Commit a9cbafa

Browse files
committed
fix(ironic): ensure tftpboot path is created
When we have ilo-ipxe and ipxe interfaces enabled, they check that the boot files exist so we need the directory to be created so the files can be copied into place.
1 parent 8bdb036 commit a9cbafa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

components/ironic/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@ conductor:
1717
pxe:
1818
# at this time we are running our own dnsmasq container and statefulset
1919
enabled: false
20+
initContainers:
21+
# this can go away once we disable the ilo-ipxe and ipxe boot interfaces
22+
# it is only necessary because the above pxe is disabled, its init
23+
# creates this path
24+
- name: create-tftpboot
25+
image: docker.io/openstackhelm/heat:2024.2-ubuntu_jammy
26+
imagePullPolicy: IfNotPresent
27+
command: [bash]
28+
args:
29+
- "-c"
30+
- "mkdir -p /var/lib/openstack-helm/tftpboot"
31+
volumeMounts:
32+
- name: pod-data
33+
mountPath: /var/lib/openstack-helm
2034

2135
labels:
2236
conductor:

0 commit comments

Comments
 (0)