projects
/
contrib
/
pines
/
genasys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91e233
)
Disable ipv6 on bricks to stop added content lookup errors
author
Andy Witter
<awitter@georgialibraries.org>
Sat, 6 Jan 2018 09:46:30 +0000
(
04:46
-0500)
committer
Andy Witter
<awitter@georgialibraries.org>
Sat, 6 Jan 2018 09:46:30 +0000
(
04:46
-0500)
templates/setup-head.sh
patch
|
blob
|
history
diff --git
a/templates/setup-head.sh
b/templates/setup-head.sh
index
3b08666
..
a79b437
100755
(executable)
--- a/
templates/setup-head.sh
+++ b/
templates/setup-head.sh
@@
-254,6
+254,10
@@
if cat /etc/hostname|grep -q brick01-head
Prep_DB_9_X
fi
fi
+### Disable ipv6 on bricks to stop added content lookup errors.
+echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> /etc/sysctl.conf
+echo 'net.ipv6.conf.default.disable_ipv6 = 1' >> /etc/sysctl.conf
+echo 'net.ipv6.conf.lo.disable_ipv6 = 1' >> /etc/sysctl.conf
fi
#