<commit_before>#!/usr/bin/env sh

# Check which Packer builder type is being used
if [ $PACKER_BUILDER_TYPE = "vmware-iso" ]; then
  # Required for VMware Tools for Linux Guests
  # http://kb.vmware.com/kb/1018414
  # http://pubs.vmware.com/fusion-7/topic/com.vmware.fusion.help.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html
  yum install --assumeyes tar net-tools gcc kernel-devel

  # Install VMware Tools
  mkdir /mnt/cdrom
  mount /root/linux.iso /mnt/cdrom
  tar -zxpf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp
  /tmp/vmware-tools-distrib/vmware-install.pl --default

  # Disable ThinPrint service
  systemctl vmware-tools-thinprint.service

  # Cleanup<commit_msg>actually disable the VMware thinprint service<commit_after>#!/usr/bin/env sh

# Check which Packer builder type is being used
if [ $PACKER_BUILDER_TYPE = "vmware-iso" ]; then
  # Required for VMware Tools for Linux Guests
  # http://kb.vmware.com/kb/1018414
  # http://pubs.vmware.com/fusion-7/topic/com.vmware.fusion.help.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html
  yum install --assumeyes tar net-tools gcc kernel-devel

  # Install VMware Tools
  mkdir /mnt/cdrom
  mount /root/linux.iso /mnt/cdrom
  tar -zxpf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp
  /tmp/vmware-tools-distrib/vmware-install.pl --default

  # Disable ThinPrint service
  systemctl disable vmware-tools-thinprint.service

  # Cleanup
{'fraction_non_alphanumeric': 0.11976911976911978, 'fraction_numerical': 0.04329004329004329, 'mean_word_length': 3.5475409836065572, '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': '5911002', 'n_tokens_mistral': 574, 'n_tokens_neox': 526, 'n_words': 107}