diskimage-builder/elements/rpm-distro/post-install.d/06-network-config-nonzeroconf

12 lines
304 B
Plaintext
Raw Normal View History

#!/bin/bash
set -eu
set -o pipefail
# 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