43b70ce224
Since we are using bash syntax in some of the element fragments, we should make sure we use bash for all of them, so that things don't break on systems where /bin/sh != /bin/bash. Change-Id: If2f043c57aa4e1492b7f9839213ef6123f683612
8 lines
279 B
Bash
Executable file
8 lines
279 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# 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
|