<commit_before>{
    "variables": {
        "atlas_token": "{{ env `ATLAS_TOKEN` }}",
        "atlas_username": "{{env `ATLAS_USERNAME`}}",
        "atlas_name": "{{env `ATLAS_NAME`}}",
        "atlas_version": "{{env `ATLAS_BUILD_NUMBER`}}",
        "iso_url": "https://mirrors.kernel.org/archlinux/iso/2015.10.01/archlinux-2015.10.01-dual.iso",
        "iso_checksum": "6d95a2a35e29b23d6abd30011c6ab8220250efb6",
        "iso_checksum_type": "sha1"
    },
    "builders": [
        {
            "type": "virtualbox-iso",
            "iso_url": "{{user `iso_url`}}",
            "iso_checksum": "{{user `iso_checksum`}}",
            "iso_checksum_type": "{{user `iso_checksum_type`}}",
            "guest_os_type": "ArchLinux_64",
            "guest_additions_mode": "disable",
            "http_directory": ".",
            "boot_wait": "5s",
            "boot_command": [
                "<enter><wait10><wait10>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/install-virtualbox.sh<enter><wait5>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer<enter><wait5>",
                "/usr/bin/bash ./install-virtualbox.sh<enter>"
            ],
            "disk_size": 20480,
            "hard_drive_interface": "sata",
            "ssh_username": "vagrant",
            "ssh_password": "<PASSWORD>",
            "ssh_timeout": "120m",
            "shutdown_command": "sudo systemctl start poweroff.timer"
        },
        {
            "type": "vmware-iso",
            "iso_url": "{{user `iso_url`}}",
            "iso_checksum": "{{user `iso_checksum`}}",
            "iso_checksum_type": "{{user `iso_checksum_type`}}",
            "http_directory": ".",
            "boot_wait": "5s",
            "boot_command": [
                "<enter><wait10><wait10>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/install-vmware.sh<enter><wait5>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer<enter><wait5>",
                "/usr/bin/bash ./install-vmware.sh<enter>"
            ],
            "disk_size": 20480,
            "ssh_username": "vagrant",
            "ssh_password": "<PASSWORD>",
            "ssh_timeout": "120m",
            "shutdown_command": "sudo systemctl start poweroff.timer"
        }
    ],
    "provisioners": [
      {
      "execute_command": "echo '{{ user `ssh_password` }}' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
      "only": ["vmware-iso"],
      "scripts": [
        "scripts/vmware.sh",
        "custom-script.sh",
        "scripts/cleanup.sh"
      ],
      "type": "shell"
    }
    ],
    "post-processors": [
        [{
            "type": "vagrant",
            "output": "packer_arch_{{.Provider}}.box"
        },
        {
            "type": "atlas",
            "only": ["vmware-iso"],
            "artifact": "{{user `atlas_username`}}/{{user `atlas_name`}}",<commit_msg>Made install script a user variable to use old style install-provider or new install-arch-base<commit_after>{
    "variables": {
        "atlas_token": "{{ env `ATLAS_TOKEN` }}",
        "atlas_username": "{{env `ATLAS_USERNAME`}}",
        "atlas_name": "{{env `ATLAS_NAME`}}",
        "atlas_version": "{{env `ATLAS_BUILD_NUMBER`}}",
        "install_script": "install-arch-base.sh",
        "iso_url": "https://mirrors.kernel.org/archlinux/iso/2015.10.01/archlinux-2015.10.01-dual.iso",
        "iso_checksum": "6d95a2a35e29b23d6abd30011c6ab8220250efb6",
        "iso_checksum_type": "sha1"
    },
    "builders": [
        {
            "type": "virtualbox-iso",
            "iso_url": "{{user `iso_url`}}",
            "iso_checksum": "{{user `iso_checksum`}}",
            "iso_checksum_type": "{{user `iso_checksum_type`}}",
            "guest_os_type": "ArchLinux_64",
            "guest_additions_mode": "disable",
            "http_directory": ".",
            "boot_wait": "5s",
            "boot_command": [
                "<enter><wait10><wait10>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/{{user `install_script`}}<enter><wait5>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer<enter><wait5>",
                "/usr/bin/bash ./{{user `install_script`}}<enter>"
            ],
            "disk_size": 20480,
            "hard_drive_interface": "sata",
            "ssh_username": "vagrant",
            "ssh_password": "<PASSWORD>",
            "ssh_timeout": "120m",
            "shutdown_command": "sudo systemctl start poweroff.timer"
        },
        {
            "type": "vmware-iso",
            "iso_url": "{{user `iso_url`}}",
            "iso_checksum": "{{user `iso_checksum`}}",
            "iso_checksum_type": "{{user `iso_checksum_type`}}",
            "http_directory": ".",
            "boot_wait": "5s",
            "boot_command": [
                "<enter><wait10><wait10>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/{{user `install_script`}}<enter><wait5>",
                "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer<enter><wait5>",
                "/usr/bin/bash ./{{user `install_script`}}<enter>"
            ],
            "disk_size": 20480,
            "ssh_username": "vagrant",
            "ssh_password": "<PASSWORD>",
            "ssh_timeout": "120m",
            "shutdown_command": "sudo systemctl start poweroff.timer"
        }
    ],
    "provisioners": [
      {
      "execute_command": "echo '{{ user `ssh_password` }}' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
      "only": ["vmware-iso"],
      "scripts": [
        "scripts/vmware.sh",
        "custom-script.sh",
        "scripts/cleanup.sh"
      ],
      "type": "shell"
    }
    ],
    "post-processors": [
        [{
            "type": "vagrant",
            "output": "packer_arch_{{.Provider}}.box"
        },
        {
            "type": "atlas",
            "only": ["vmware-iso"],
            "artifact": "{{user `atlas_username`}}/{{user `atlas_name`}}",
{'fraction_non_alphanumeric': 0.19930244145490783, 'fraction_numerical': 0.0245806344461053, 'mean_word_length': 1.990069513406157, 'pattern_counts': {'":': 95, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 2, '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': '186895', 'n_tokens_mistral': 2139, 'n_tokens_neox': 2007, 'n_words': 284}