<commit_before>#!/bin/bash -eux

# Install growpart
yum -y install cloud-init cloud-utils-growpart
chkconfig cloud-init on

if -n "$(grep \'CentOS release 6\' /etc/redhat-release)" ; then
  yum -y install denyhosts
else
  # Install denyhosts from our local repo
  yum -y install http://packages.osuosl.org/repositories/centos-7/osl/x86_64/denyhosts-2.6-19.el7.centos.noarch.rpm
fi
chkconfig denyhosts on
sed -i -e 's/^PURGE_DENY.*/PURGE_DENY = 5d/' /etc/denyhosts.conf

# No timeout for grub menu
sed -i -e 's/^GRUB_TIMEOUT.*/GRUB_TIMEOUT=0/' /etc/default/grub
# No fancy boot screen
grep -q rhgb /etc/default/grub && sed -e 's/rhgb //' /etc/default/grub
# Write out the config
grub2-mkconfig -o /boot/grub2/grub.cfg<commit_msg>Fix this for real this time<commit_after>#!/bin/bash -eux

# Install growpart
yum -y install cloud-init cloud-utils-growpart
chkconfig cloud-init on

if [ -n "$(grep "CentOS release 6" /etc/redhat-release)" ] ; then
  yum -y install denyhosts
else
  # Install denyhosts from our local repo
  yum -y install http://packages.osuosl.org/repositories/centos-7/osl/x86_64/denyhosts-2.6-19.el7.centos.noarch.rpm
fi
chkconfig denyhosts on
sed -i -e 's/^PURGE_DENY.*/PURGE_DENY = 5d/' /etc/denyhosts.conf

# No timeout for grub menu
sed -i -e 's/^GRUB_TIMEOUT.*/GRUB_TIMEOUT=0/' /etc/default/grub
# No fancy boot screen
grep -q rhgb /etc/default/grub && sed -e 's/rhgb //' /etc/default/grub
# Write out the config
grub2-mkconfig -o /boot/grub2/grub.cfg
{'fraction_non_alphanumeric': 0.13722826086956522, 'fraction_numerical': 0.020380434782608696, 'mean_word_length': 3.5462962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4128547', 'n_tokens_mistral': 623, 'n_tokens_neox': 593, 'n_words': 152}