<commit_before>#!/bin/sh
# Configure this (virtual) host an eReuse PXE server.
#
# This is meant to be run when generating the server OVA.

# Remove unnecessary packages.
apt-get -qq purge @PKGS_TO_REMOVE@

# Fix bootloader.
update-grub
grub-install /dev/sda

# Restore the original init script.
mv /etc/rc.local.orig /etc/rc.local

exec reboot
<commit_msg>Halt instead of rebooting after configuration init script.<commit_after>#!/bin/sh
# Configure this (virtual) host an eReuse PXE server.
#
# This is meant to be run when generating the server OVA.

# Remove unnecessary packages.
apt-get -qq purge @PKGS_TO_REMOVE@

# Fix bootloader.
update-grub
grub-install /dev/sda

# Restore the original init script.
mv /etc/rc.local.orig /etc/rc.local

exec halt

{'fraction_non_alphanumeric': 0.09379128137384413, 'fraction_numerical': 0.0, 'mean_word_length': 3.954248366013072, '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': '213379', 'n_tokens_mistral': 264, 'n_tokens_neox': 257, 'n_words': 91}