44df18af75
Add "NONZEROCONF=yes" to /etc/sysconfig/network to prevent 169.254.0.0 route from being created. This route interferes with fedora baremetal nodes' access to the nova metadata server at 169.254.169.254. Change-Id: Iad77abfc97c0eba944680772f233389481a270ff
9 lines
277 B
Bash
Executable File
9 lines
277 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# zeroconf should not be activated or it will add a 169.254.0.0
|
|
# route. The route will interfere with access to the nova metadata
|
|
# server at 169.254.169.254.
|
|
if ! grep NOZEROCONF /etc/sysconfig/network ; then
|
|
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
|
|
fi
|