Fix cloud-init routing issue on Fedora
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
This commit is contained in:
parent
0b1ff7d4b0
commit
44df18af75
8
elements/fedora/post-install.d/06-network-config-nonzeroconf
Executable file
8
elements/fedora/post-install.d/06-network-config-nonzeroconf
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user