Skip to content

Commit

Permalink
Merge pull request #102 from skrobul/dnsmasq-serve-tftp
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoe authored May 23, 2024
2 parents f8aa6a0 + e1c6589 commit d5e117a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/ironic/dnsmasq-ss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
mountPath: /etc/dnsmasq.d
- name: pod-dhcp
mountPath: /var/lib/misc
- name: understack-images
mountPath: /var/lib/understack/master_iso_images
readOnly: true
volumes:
- name: pod-tmp
emptyDir: {}
Expand All @@ -82,3 +85,6 @@ spec:
- name: pod-dhcp
persistentVolumeClaim:
claimName: dnsmasq-dhcp
- name: understack-images
hostPath:
path: /var/lib/understack/master_iso_images
1 change: 1 addition & 0 deletions containers/dnsmasq/dnsmasq.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ dhcp-proxy={{ dhcp_proxy_list|join(',') }}
dhcp-allowed-srvids={{ dhcp_allowed_srvids_list|join(',') }}
enable-tftp
tftp-no-fail
tftp-root={{ env['TFTP_DIR'] | default('/var/lib/understack/master_iso_images') }}

# don't set to enable logging
{% if env.LOG_DHCP_QUERIES | default(False, True) %}
Expand Down

0 comments on commit d5e117a

Please sign in to comment.