airshipctl/manifests/function/baremetal-operator/entrypoint/dnsmasq-entrypoint
Nikolay Fedorov 3ee25a7a7b Add Bare Metal Operator Ironic entrypoints
Relates-To: #105

Change-Id: Ia64033ec55865848ccf34cc3d8b8f51859c89785
2020-03-31 15:39:16 -05:00

10 lines
365 B
Bash

#!/usr/bin/bash
cp -f /tftpboot/undionly.kpxe /tftpboot/ipxe.efi /tftpboot/snponly.efi /shared/tftpboot
cp -f /shared/inspector.ipxe /shared/html/inspector.ipxe
cp -f /shared/dualboot.ipxe /shared/html/dualboot.ipxe
cp -f /tmp/uefi_esp.img /shared/html/uefi_esp.img
/bin/runhealthcheck "dnsmasq" &>/dev/null &
exec /usr/sbin/dnsmasq -d -q -C /shared/dnsmasq.conf