mirror of
https://github.com/unman/shaker.git
synced 2025-10-12 04:40:41 -04:00
i2p - Enable and start i2p service in sys-i2p.
Disable IPv6
This commit is contained in:
parent
e77afa71ac
commit
88792ef95e
2 changed files with 20 additions and 0 deletions
12
i2p/configure.sls
Normal file
12
i2p/configure.sls
Normal file
|
@ -0,0 +1,12 @@
|
|||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
{% if grains['nodename'] != 'dom0' %}
|
||||
|
||||
i2p.local:
|
||||
file.append:
|
||||
- name: /rw/config/rc.local
|
||||
- text: |
|
||||
systemctl unmask i2p
|
||||
systemctl start i2p
|
||||
|
||||
{% endif %}
|
|
@ -79,5 +79,13 @@ i2p_untar_extension:
|
|||
- source: salt://i2p/i2p_browser.tgz
|
||||
- user: root
|
||||
- group: root
|
||||
|
||||
i2p_disable_ipv6:
|
||||
file.append:
|
||||
- name: /etc/sysctl.conf
|
||||
- text: |
|
||||
net.ipv6.conf.all.disable_ipv6 = 1
|
||||
net.ipv6.conf.default.disable_ipv6 = 1
|
||||
net.ipv6.conf.lo.disable_ipv6 = 1
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue