File tree Expand file tree Collapse file tree 6 files changed +6
-25
lines changed Expand file tree Collapse file tree 6 files changed +6
-25
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ jobs:
111111 with :
112112 context : " {{defaultContext}}:containers/dnsmasq"
113113 file : Dockerfile
114- push : ${{ github.event_name != 'pull_request' }}
114+ push : true
115115 tags : ${{ steps.meta.outputs.tags }}
116116 labels : ${{ steps.meta.outputs.labels }}
117117
Original file line number Diff line number Diff line change 7878 mountPath : /etc/dnsmasq.d
7979 - name : pod-dhcp
8080 mountPath : /var/lib/misc
81- - name : understack-data
82- mountPath : /var/lib/understack/
83- readOnly : true
8481 volumes :
8582 - name : pod-tmp
8683 emptyDir : {}
9087 - name : pod-dhcp
9188 persistentVolumeClaim :
9289 claimName : dnsmasq-dhcp
93- - name : understack-data
94- persistentVolumeClaim :
95- claimName : understack-data
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ resources:
77 - ironic-rabbitmq-queue.yaml
88 - dnsmasq-pvc.yaml
99 - dnsmasq-ss.yaml
10- - understack-data-pvc.yaml
1110 - ironic-ks-user-baremetal.yaml
1211 # less than ideal addition but necessary so that we can have the ironic.conf.d loading
1312 # working due to the way the chart hardcodes the config-file parameter which then
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 215215 mountPath : /etc/dnsmasq.d/
216216 - name : dnsmasq-dhcp
217217 mountPath : /var/lib/dnsmasq/
218- - name : understack-data
219- mountPath : /var/lib/understack
220218 - name : device-types
221219 mountPath : /var/lib/understack/device-types
222220 - name : ironic-etc-snippets
229227 - name : dnsmasq-dhcp
230228 persistentVolumeClaim :
231229 claimName : dnsmasq-dhcp
232- - name : understack-data
233- persistentVolumeClaim :
234- claimName : understack-data
235230 - name : device-types
236231 configMap :
237232 name : device-types
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RUN apt-get update && apt-get -y install \
1616 pkg-config \
1717 ca-certificates \
1818 quilt \
19+ ipxe \
1920 --no-install-recommends
2021WORKDIR /src
2122RUN apt-get -y build-dep dnsmasq
@@ -42,11 +43,14 @@ COPY --from=builder /src/dnsmasq-base_*_amd64.deb /tmp
4243COPY --from=builder /src/dnsmasq_*_all.deb /tmp
4344
4445RUN apt-get update && \
45- apt-get -y install --no-install-recommends python3-jinja2 && \
46+ apt-get -y install --no-install-recommends python3-jinja2 ipxe && \
4647 apt-get -y --fix-broken install --no-install-recommends /tmp/dnsmasq-base_*_amd64.deb /tmp/dnsmasq_*_all.deb && \
4748 apt-get clean && \
4849 rm -rf /var/lib/apt/lists/* /tmp/*.deb
4950
51+ RUN mkdir -p /var/lib/openstack-helm/tftpboot && \
52+ cp /usr/lib/ipxe/snponly.efi /var/lib/openstack-helm/tftpboot/
53+
5054COPY common/helpers.sh /helpers.sh
5155COPY dnsmasq/entry-point.sh /entry-point.sh
5256RUN chmod +x /entry-point.sh
You can’t perform that action at this time.
0 commit comments