<commit_before>{
  "builders": [
    {
      "boot_wait": "2s",
      "disk_size": "{{user `disk_size`}}",
      "guest_os_type": "darwin12-64",
      "headless": "{{ user `headless` }}",
      "iso_checksum": "{{user `iso_checksum`}}",
      "iso_checksum_type": "{{user `iso_checksum_type`}}",
      "iso_url": "{{user `iso_url`}}",
      "output_directory": "output/{{user `template`}}",
      "shutdown_command": "echo 'vagrant'| sudo -S shutdown -h now",
      "skip_compaction": true,
      "ssh_password": "<PASSWORD>",
      "ssh_port": 22,
      "ssh_username": "vagrant",
      "ssh_wait_timeout": "10000s",
      "tools_upload_flavor": "darwin",
      "tools_upload_path": "/tmp/vmtools.iso",
      "type": "vmware-iso",
      "vm_name": "{{ user `template` }}",
      "vmx_data": {
        "cpuid.coresPerSocket": "1",
        "ehci.present": "TRUE",
        "firmware": "efi",
        "hpet0.present": "TRUE",
        "ich7m.present": "TRUE",
        "keyboardAndMouseProfile": "macProfile",
        "memsize": "{{ user `memory` }}",
        "numvcpus": "{{ user `cpus` }}",
        "smc.present": "TRUE",
        "usb.present": "TRUE"
      }
    }
  ],
  "provisioners": [
    {
      "destination": "/private/tmp/set_kcpassword.py",
      "source": "scripts/macos/support/set_kcpassword.py",
      "type": "file"
    },
    {
      "environment_vars": [
        "HOME_DIR=/Users/vagrant",
        "http_proxy={{user `http_proxy`}}",
        "https_proxy={{user `https_proxy`}}",
        "no_proxy={{user `no_proxy`}}",
        "AUTOLOGIN=1",
        "NOCM={{user `nocm`}}",
        "INSTALL_XCODE_CLI_TOOLS=1",
        "PASSWORD=<PASSWORD>",
        "UPDATE_SYSTEM=1",
        "USERNAME=vagrant"
      ],
      "execute_command": "echo 'vagrant'| {{.Vars}} sudo -S -E sh -eux '{{.Path}}'",
      "scripts": [
        "scripts/macos/vagrant.sh",
        "scripts/macos/vmware.sh",
        "scripts/macos/xcode-cli-tools.sh",
        "scripts/macos/add-network-interface-detection.sh",
        "scripts/macos/autologin.sh",
        "scripts/macos/system-update.sh"
      ],
      "type": "shell"
    }
  ],
  "variables": {
    "box_basename": "macos-10.12",
    "build_timestamp": "{{isotime \"20060102150405\"}}",
    "cpus": "1",
    "disk_size": "40960",
    "headless": "",<commit_msg>Update invocation for macOS scripts<commit_after>{
  "builders": [
    {
      "boot_wait": "2s",
      "disk_size": "{{user `disk_size`}}",
      "guest_os_type": "darwin12-64",
      "headless": "{{ user `headless` }}",
      "iso_checksum": "{{user `iso_checksum`}}",
      "iso_checksum_type": "{{user `iso_checksum_type`}}",
      "iso_url": "{{user `iso_url`}}",
      "output_directory": "output/{{user `template`}}",
      "shutdown_command": "echo 'vagrant'| sudo -S shutdown -h now",
      "skip_compaction": true,
      "ssh_password": "<PASSWORD>",
      "ssh_port": 22,
      "ssh_username": "vagrant",
      "ssh_wait_timeout": "10000s",
      "tools_upload_flavor": "darwin",
      "tools_upload_path": "/tmp/vmtools.iso",
      "type": "vmware-iso",
      "vm_name": "{{ user `template` }}",
      "vmx_data": {
        "cpuid.coresPerSocket": "1",
        "ehci.present": "TRUE",
        "firmware": "efi",
        "hpet0.present": "TRUE",
        "ich7m.present": "TRUE",
        "keyboardAndMouseProfile": "macProfile",
        "memsize": "{{ user `memory` }}",
        "numvcpus": "{{ user `cpus` }}",
        "smc.present": "TRUE",
        "usb.present": "TRUE"
      }
    }
  ],
  "provisioners": [
    {
      "destination": "/private/tmp/set_kcpassword.py",
      "source": "scripts/macos/support/set_kcpassword.py",
      "type": "file"
    },
    {
      "environment_vars": [
        "AUTOLOGIN={{user `autologin`}}",
        "INSTALL_XCODE_CLI_TOOLS=1",
        "HOME_DIR=/Users/vagrant",
        "USERNAME=vagrant",
        "PASSWORD=<PASSWORD>",
        "UPDATE_SYSTEM=1"
      ],
      "execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
      "scripts": [
        "scripts/macos/vagrant.sh",
        "scripts/macos/vmware.sh",
        "scripts/macos/xcode-cli-tools.sh",
        "scripts/macos/add-network-interface-detection.sh",
        "scripts/macos/autologin.sh",
        "scripts/macos/system-update.sh"
      ],
      "type": "shell"
    }
  ],
  "variables": {
    "box_basename": "macos-10.12",
    "build_timestamp": "{{isotime \"20060102150405\"}}",
    "cpus": "1",
    "disk_size": "40960",
    "headless": "",
{'fraction_non_alphanumeric': 0.20731979468868555, 'fraction_numerical': 0.018522651193929925, 'mean_word_length': 2.5713147410358568, 'pattern_counts': {'":': 88, '<': 7, '<?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': '1825578', 'n_tokens_mistral': 1710, 'n_tokens_neox': 1647, 'n_words': 246}