<commit_before>{
  "builders": [
  {
    "boot_wait": "2s",
    "disk_size": "{{ user `disk_size` }}",
    "guest_os_type": "{{ user `vmware_guest_os_type` }}",
    "iso_checksum_type": "none",
    "iso_url": "{{ user `iso_dir` }}/{{ user `iso_url` }}",
    "output_directory": "output-{{ user `vm_name` }}-vmware-iso",
    "shutdown_command": "echo '{{ user `ssh_username` }}'|sudo -S shutdown -h now",
    "skip_compaction": true,
    "ssh_password": "{{ user `ssh_password` }}",
    "ssh_port": 22,
    "ssh_username": "{{ user `ssh_username` }}",
    "ssh_wait_timeout": "10000s",
    "tools_upload_flavor": "darwin",
    "type": "vmware-iso",
    "vm_name": "{{ user `vm_name` }}",
    "vmx_template_path": "osx.vmx"
  },
  {
    "output_directory": "output-{{ user `vm_name` }}-vmware-vmx",
    "shutdown_command": "echo '{{ user `ssh_username` }}'|sudo -S shutdown -h now",
    "skip_compaction": true,
    "ssh_password": "{{ user `ssh_password` }}",
    "ssh_port": 22,
    "ssh_username": "{{ user `ssh_username` }}",
    "ssh_wait_timeout": "10000s",
    "tools_upload_flavor": "darwin",
    "type": "vmware-vmx",
    "vm_name": "{{ user `vm_name` }}",
    "source_path": "{{ user `vmx`}}"
  }
  ],
  "post-processors": [
  {
    "keep_input_artifact": false,
    "output": "{{env `BASEBOX_CACHE`}}/box/vmware_desktop/{{user `vm_name`}}.box",
    "type": "vagrant",
    "vagrantfile_template": "{{ user `vagrantfile_template` }}"
  }
  ],
  "provisioners": [
  {
    "environment_vars": [
      "UPDATE={{user `update`}}",
      "INSTALL_XCODE_CLI_TOOLS={{user `install_xcode_cli_tools`}}",
      "INSTALL_VAGRANT_KEYS={{user `install_vagrant_keys`}}",
      "SSH_USERNAME={{ user `ssh_username` }}",
      "SSH_PASSWORD={{ user `ssh_password` }}"
    ],
    "execute_command": "chmod +x {{ .Path }}; {{ .Vars }} sudo -E -S bash '{{ .Path }}'",
    "scripts": [ ],
    "type": "shell"
  }
  ],
  "variables": {
    "cpus": "2",
    "disk_size": "65536",
    "headless": "true",
    "install_vagrant_keys": "true",
    "install_xcode_cli_tools": "true",
    "iso_url": "osx.iso",
    "memory": "2048",
    "ssh_password": "<PASSWORD>",
    "ssh_username": "ubuntu",
    "update": "false",
    "vagrantfile_template": "",
    "vm_name": "osx1011",
    "vmx": "{{ env `VMX` }}"
  }
}<commit_msg>use var instead of env<commit_after>{
  "builders": [
  {
    "boot_wait": "2s",
    "disk_size": "{{ user `disk_size` }}",
    "guest_os_type": "{{ user `vmware_guest_os_type` }}",
    "iso_checksum_type": "none",
    "iso_url": "{{ user `iso_dir` }}/{{ user `iso_url` }}",
    "output_directory": "output-{{ user `vm_name` }}-vmware-iso",
    "shutdown_command": "echo '{{ user `ssh_username` }}'|sudo -S shutdown -h now",
    "skip_compaction": true,
    "ssh_password": "{{ user `ssh_password` }}",
    "ssh_port": 22,
    "ssh_username": "{{ user `ssh_username` }}",
    "ssh_wait_timeout": "10000s",
    "tools_upload_flavor": "darwin",
    "type": "vmware-iso",
    "vm_name": "{{ user `vm_name` }}",
    "vmx_template_path": "osx.vmx"
  },
  {
    "output_directory": "output-{{ user `vm_name` }}-vmware-vmx",
    "shutdown_command": "echo '{{ user `ssh_username` }}'|sudo -S shutdown -h now",
    "skip_compaction": true,
    "ssh_password": "{{ user `ssh_password` }}",
    "ssh_port": 22,
    "ssh_username": "{{ user `ssh_username` }}",
    "ssh_wait_timeout": "10000s",
    "tools_upload_flavor": "darwin",
    "type": "vmware-vmx",
    "vm_name": "{{ user `vm_name` }}",
    "source_path": "{{ user `vmx`}}"
  }
  ],
  "post-processors": [
  {
    "keep_input_artifact": false,
    "output": "{{ user `cache`}}/box/vmware_desktop/{{user `vm_name`}}.box",
    "type": "vagrant",
    "vagrantfile_template": "{{ user `vagrantfile_template` }}"
  }
  ],
  "provisioners": [
  {
    "environment_vars": [
      "UPDATE={{user `update`}}",
      "INSTALL_XCODE_CLI_TOOLS={{user `install_xcode_cli_tools`}}",
      "INSTALL_VAGRANT_KEYS={{user `install_vagrant_keys`}}",
      "SSH_USERNAME={{ user `ssh_username` }}",
      "SSH_PASSWORD={{ user `ssh_password` }}"
    ],
    "execute_command": "chmod +x {{ .Path }}; {{ .Vars }} sudo -E -S bash '{{ .Path }}'",
    "scripts": [ ],
    "type": "shell"
  }
  ],
  "variables": {
    "cpus": "2",
    "disk_size": "65536",
    "headless": "true",
    "install_vagrant_keys": "true",
    "install_xcode_cli_tools": "true",
    "iso_url": "osx.iso",
    "memory": "2048",
    "ssh_password": "<PASSWORD>",
    "ssh_username": "ubuntu",
    "update": "false",
    "vagrantfile_template": "",
    "vm_name": "osx1011",
    "vmx": "{{ env `VMX` }}",
    "cache": "{{ env `BASEBOX_CACHE`}}"
  }
}
{'fraction_non_alphanumeric': 0.2270967741935484, 'fraction_numerical': 0.012473118279569893, 'mean_word_length': 3.6603206412825653, 'pattern_counts': {'":': 105, '<': 5, '<?xml version=': 0, '>': 5, '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': '1293885', 'n_tokens_mistral': 1936, 'n_tokens_neox': 1842, 'n_words': 315}