<commit_before>#!/bin/bash

set -e

export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf
alias net-pf-10 off
alias ipv6 off
install ipv6 /bin/true
blacklist ipv6
EOF

cat <<'EOF' > /etc/sysctl.d/10-disable-ipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
EOF

chown root: /etc/modprobe.d/blacklist-ipv6.conf \
            /etc/sysctl.d/10-disable-ipv6.conf

chmod 644 /etc/modprobe.d/blacklist-ipv6.conf \
          /etc/sysctl.d/10-disable-ipv6.conf<commit_msg>Add extra line to /etc/modprobe.d/blacklist-ipv6.conf file.<commit_after>#!/bin/bash

set -e

export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf
options ipv6 disable=1
alias net-pf-10 off
alias ipv6 off
install ipv6 /bin/true
blacklist ipv6
EOF

cat <<'EOF' > /etc/sysctl.d/10-disable-ipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
EOF

chown root: /etc/modprobe.d/blacklist-ipv6.conf \
            /etc/sysctl.d/10-disable-ipv6.conf

chmod 644 /etc/modprobe.d/blacklist-ipv6.conf \
          /etc/sysctl.d/10-disable-ipv6.conf
{'fraction_non_alphanumeric': 0.1586802827965436, 'fraction_numerical': 0.047918303220738416, 'mean_word_length': 3.1907894736842106, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1441699', 'n_tokens_mistral': 578, 'n_tokens_neox': 566, 'n_words': 83}