diskimage-builder/elements/rpm-distro/post-install.d/06-network-config-nonzeroconf
Chris Alfonso 301c3c4475 Extracting common functionality for rpm based distros
Rather than dublicating code to implement rhel or any
other derivitive, this patch introduces an rpm-distro
element that should be used as a dependency.

Change-Id: I8a92bb041764d03f430b438f0013704f79a8674c
2013-08-20 16:44:19 -04:00

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