<commit_before>{
    "variables": {
        "box_name": "Ubuntu-15.10",
        "disk_size": "20000",
        "memory_size": "1024",
        "cpus": "1",
        "iso_checksum": "86aa35a986eba6e5ad30e3d486d57efe6803ae7ea4859b0216953e9e62871131",
        "iso_checksum_type": "sha256",
        "ubuntu_version": "15.10",
        "ubuntu_arch": "amd64",
        "atlas_token": "{{env `ATLAS_TOKEN`}}",
        "atlas_username": "{{env `ATLAS_USERNAME`}}",
        "atlas_name": "ubuntu-15.10",
        "version": "0.1.0"
    },
    "builders": [
        {
            "type": "virtualbox-iso",
            "boot_command": [
                "<enter><wait>",
                "<f6><esc>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<bs><bs><bs>",
                "/install/vmlinuz ",
                "initrd=/install/initrd.gz ",
                "net.ifnames=0 ",
                "auto-install/enable=true ",
                "debconf/priority=critical ",
                "preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/preseed.cfg ",
                "<enter>"
            ],
            "boot_wait": "10s",
            "disk_size": "{{ user `disk_size` }}",
            "guest_os_type": "Ubuntu_64",
            "http_directory": "http/ubuntu-{{ user `ubuntu_version` }}-{{ user `ubuntu_arch` }}",
            "iso_checksum": "{{ user `iso_checksum` }}",
            "iso_checksum_type": "{{ user `iso_checksum_type` }}",
            "iso_url": "http://releases.ubuntu.com/{{ user `ubuntu_version` }}/ubuntu-{{ user `ubuntu_version` }}-server-{{ user `ubuntu_arch` }}.iso",
            "ssh_username": "vagrant",
            "ssh_password": "<PASSWORD>",
            "ssh_port": 22,
            "ssh_wait_timeout": "60m",
            "shutdown_command": "sudo systemctl poweroff",
            "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
            "virtualbox_version_file": ".vbox_version",
            "vm_name": "{{ user `box_name` }}",
            "vboxmanage": [
                ["modifyvm", "{{.Name}}", "--memory", "{{ user `memory_size` }}"],
                ["modifyvm", "{{.Name}}", "--cpus", "{{ user `cpus` }}"]
            ]
        }
    ],
    "provisioners": [
        {
            "type": "shell",
            "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
            "scripts": [
                "scripts/ubuntu/update.sh",
                "scripts/ubuntu/sudoers.sh",
                "scripts/common/sshd.sh",
                "scripts/common/vagrant.sh",
                "scripts/common/vbguest.sh",
                "scripts/ubuntu/desktop.sh",
                "scripts/ubuntu/cleanup.sh"
            ]
        }
    ],
    "push": {
        "name": "{{user `atlas_username`}}/{{user `atlas_name`}}",
        "token": "{{user `atlas_name`}}",
        "vcs": true
    },
  "post-processors": [
    [
      {
        "type": "vagrant",
        "compression_level": 9,
        "output":"vagrant/ubuntu-{{ user `ubuntu_version` }}-{{ user `ubuntu_arch` }}/ubuntu-{{ user `ubuntu_version` }}-{{ user `ubuntu_arch` }}-{{.Provider}}.box"
      },
      {
        "type": "atlas",
        "only": ["virtualbox-iso"],
        "artifact": "{{user `atlas_username`}}/{{user `atlas_name`}}",
        "artifact_type": "vagrant.box",
        "metadata": {
          "created_at": "{{timestamp}}",
          "version": "{{user `version`}}",
          "provider": "virtualbox"
        }
      }
    ]
  ]
}<commit_msg>9: Migrate to Vagrant Cloud for Ubuntu<commit_after>{
  "variables": {
    "box_name": "Ubuntu-15.10",
    "disk_size": "20000",
    "memory_size": "1024",
    "cpus": "1",
    "iso_checksum": "86aa35a986eba6e5ad30e3d486d57efe6803ae7ea4859b0216953e9e62871131",
    "iso_checksum_type": "sha256",
    "ubuntu_version": "15.10",
    "ubuntu_arch": "amd64",
    "vagrantcloud_token": "{{env `VAGRANTCLOUD_TOKEN`}}",
    "vagrantcloud_username": "{{env `VAGRANTCLOUD_USERNAME`}}",
    "vagrantcloud_name": "ubuntu-15.10",
    "version": "0.1.0"
  },
  "builders": [
    {
      "type": "virtualbox-iso",
      "boot_command": [
        "<enter><wait>",
        "<f6><esc>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs>",
        "/install/vmlinuz ",
        "initrd=/install/initrd.gz ",
        "net.ifnames=0 ",
        "auto-install/enable=true ",
        "debconf/priority=critical ",
        "preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/preseed.cfg ",
        "<enter>"
      ],
      "boot_wait": "10s",
      "disk_size": "{{ user `disk_size` }}",
      "guest_os_type": "Ubuntu_64",
      "http_directory": "http/ubuntu-{{ user `ubuntu_version` }}-{{ user `ubuntu_arch` }}",
      "iso_checksum": "{{ user `iso_checksum` }}",
      "iso_checksum_type": "{{ user `iso_checksum_type` }}",
      "iso_url": "http://releases.ubuntu.com/{{ user `ubuntu_version` }}/ubuntu-{{ user `ubuntu_version` }}-server-{{ user `ubuntu_arch` }}.iso",
      "ssh_username": "vagrant",
      "ssh_password": "<PASSWORD>",
      "ssh_port": 22,
      "ssh_wait_timeout": "60m",
      "shutdown_command": "sudo systemctl poweroff",
      "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
      "virtualbox_version_file": ".vbox_version",
      "vm_name": "{{ user `box_name` }}",
      "vboxmanage": [
        ["modifyvm", "{{.Name}}", "--memory", "{{ user `memory_size` }}"],
        ["modifyvm", "{{.Name}}", "--cpus", "{{ user `cpus` }}"]
      ]
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
      "scripts": [
        "scripts/ubuntu/update.sh",
        "scripts/ubuntu/sudoers.sh",
        "scripts/common/sshd.sh",
        "scripts/common/vagrant.sh",
        "scripts/common/vbguest.sh",
        "scripts/ubuntu/desktop.sh",
        "scripts/ubuntu/cleanup.sh"
      ]
    }
  ],
  "post-processors": [
    [
      {
        "type": "vagrant",
        "compression_level": 9,
        "output":"vagrant/ubuntu-{{ user `ubuntu_version` }}-{{ user `ubuntu_arch` }}/ubuntu-{{ user `ubuntu_version` }}-{{ user `ubuntu_arch` }}-{{.Provider}}.box"
      },
      {
        "type": "vagrant-cloud",
        "access_token": "{{user `vagrantcloud_token`}}",
        "box_tag": "{{ user `vagrantcloud_username` }}/{{ user `vagrantcloud_name` }}",
        "version": "{{user `version`}}"
      }
    ]
  ]
}
{'fraction_non_alphanumeric': 0.23151616035511166, 'fraction_numerical': 0.02316548758496324, 'mean_word_length': 2.3088572739788895, 'pattern_counts': {'":': 96, '<': 181, '<?xml version=': 0, '>': 181, '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': '1843323', 'n_tokens_mistral': 2800, 'n_tokens_neox': 2573, 'n_words': 339}