Merge pull request #308 from pmarks-net/master

Do not remove ::1 from the loopback interface.
This commit is contained in:
Anders Ingemann 2016-04-04 23:00:27 +02:00
commit 83b783976c

View file

@ -15,6 +15,7 @@ class DisableIPv6(Task):
network_configuration_path = os.path.join(info.root, 'etc/sysctl.d/70-disable-ipv6.conf')
with open(network_configuration_path, 'w') as config_file:
print >>config_file, "net.ipv6.conf.all.disable_ipv6 = 1"
print >>config_file, "net.ipv6.conf.lo.disable_ipv6 = 0"
class InstallHostnameHook(Task):