Skip to content

Commit 02cd820

Browse files
committed
Bug 8208 - bare metal provisioning
Ingore bootp and pxe boot request in external DHCP server
1 parent 1a307fa commit 02cd820

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/network/exdhcp/prepare_dnsmasq.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ config_dnsmasq "
159159
config_dnsmasq dhcp-script=/usr/bin/echoer.sh
160160
config_dnsmasq dhcp-scriptuser=root
161161
config_dnsmasq dhcp-authoritative
162+
config_dnsmasq "
163+
# Ignore any bootp and pxe boot request
164+
"
165+
config_dnsmasq dhcp-ignore=bootp
166+
config_dnsmasq dhcp-vendorclass=pxestuff,PXEClient
167+
config_dnsmasq dhcp-ignore=pxestuff
162168

163169
[ -f /usr/sbin/setenforce ] && /usr/sbin/setenforce 0
164170
[ $? -ne 0 ] && exit_with_error "Can not set seLinux to passive mode"

0 commit comments

Comments
 (0)