Skip to content

Commit 03f3aa9

Browse files
authored
Merge pull request #686 from Guillaume-Fourrat/patch-5
use >> (append) instead of > for sysctl.conf updates
2 parents 69a77e3 + aedcb84 commit 03f3aa9

File tree

1 file changed

+3
-3
lines changed
  • samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm-ad

1 file changed

+3
-3
lines changed

samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm-ad/setup-bdc-ad.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
226226
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
227227
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
228228

229-
echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.conf
230-
echo net.ipv6.conf.default.disable_ipv6=1 > /etc/sysctl.conf
231-
echo net.ipv6.conf.lo.disable_ipv6=1 > /etc/sysctl.conf
229+
echo net.ipv6.conf.all.disable_ipv6=1 >> /etc/sysctl.conf
230+
echo net.ipv6.conf.default.disable_ipv6=1 >> /etc/sysctl.conf
231+
echo net.ipv6.conf.lo.disable_ipv6=1 >> /etc/sysctl.conf
232232

233233

234234
sysctl net.bridge.bridge-nf-call-iptables=1

0 commit comments

Comments
 (0)