mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Merge pull request #308 from pmarks-net/master
Do not remove ::1 from the loopback interface.
This commit is contained in:
commit
83b783976c
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue