<commit_before>#!/bin/bash

echo "Saving vagrant box creation time..."
date > /etc/vagrant_box_build_time

echo "Installing vagrant keys..."
mkdir -pm 700 /home/vagrant/.ssh
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
chmod 0600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh

echo "Configuring sudoers..."
mv /etc/sudoers /etc/sudoers.old
mv /tmp/data/etc/sudoers /etc/
chmod 0440 /etc/sudoers
chown root /etc/sudoers
chgrp root /etc/sudoers

echo "Customize the message of the day..."
echo 'ImpressCMS Development Environment' > /etc/motd

echo "Setuping vagrant folder..."
mkdir -p /vagrant
chown vagrant /vagrant
chgrp vagrant /vagrant<commit_msg>for same<commit_after>#!/bin/bash

echo "Saving vagrant box creation time..."
date > /etc/vagrant_box_build_time

echo "Installing vagrant keys..."
mkdir -pm 700 /home/vagrant/.ssh
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
chmod 0600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh

echo "Configuring sudoers..."
mv /etc/sudoers /etc/sudoers.old
mv /tmp/data/etc/sudoers /etc/
chmod 0440 /etc/sudoers
chown root /etc/sudoers
chgrp root /etc/sudoers

echo "Customize the message of the day..."
echo 'ImpressCMS Development Environment' > /etc/motd

echo "Setuping vagrant folder..."
mkdir -p /vagrant
chown vagrant /vagrant
chgrp vagrant /vagrant

echo 'Fixing IP binding...'
echo "auto eth1" >> /etc/network/interfaces.d/eth1
echo "iface eth1 inet manual" >> /etc/network/interfaces.d/eth1
{'fraction_non_alphanumeric': 0.13257348530293941, 'fraction_numerical': 0.015596880623875225, 'mean_word_length': 3.8771929824561404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1732377', 'n_tokens_mistral': 652, 'n_tokens_neox': 606, 'n_words': 158}