<commit_before>{
  "variables": {
    "disk_size": "100000",
    "headless": "true",
    "iso_url": "https://cdimage.debian.org/debian-cd/8.7.1/amd64/iso-cd/debian-8.7.1-amd64-netinst.iso",
    "iso_checksum": "749a15b7690769dd99e85d6104182a03d370b04b36106ec7cfaf6a551aa89fb4",
    "version": "{{ env `VERSION`}}"
  },
  "builders": [
    {
      "name": "qemu",
      "type": "qemu",
      "format": "qcow2",
      "headless": "{{ user `headless` }}",
      "accelerator": "kvm",
      "disk_interface": "virtio-scsi",
      "disk_size": "{{ user `disk_size` }}",
      "iso_url": "{{ user `iso_url` }}",
      "iso_checksum": "{{ user `iso_checksum` }}",
      "iso_checksum_type": "sha256",
      "http_directory": "packer/http",
      "ssh_username": "root",
      "ssh_password": "<PASSWORD>",
      "shutdown_command": "shutdown -h now",
      "ssh_wait_timeout": "60m",
      "boot_wait": "2s",
      "boot_command": [
        "<esc><wait><wait>",
        "install ",
        "auto=true ",
        "priority=critical ",
        "interface=auto ",
        "url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
        "<enter>"
      ],
      "output_directory": ".packer/build/qemu/"
    },
    {
      "name": "virtualbox",
      "type": "virtualbox-iso",
      "format": "ova",
      "headless": "{{ user `headless` }}",
      "disk_size": "{{ user `disk_size` }}",
      "guest_os_type": "Debian_64",
      "iso_url": "{{ user `iso_url` }}",
      "iso_checksum": "{{ user `iso_checksum` }}",
      "iso_checksum_type": "sha256",
      "http_directory": "packer/http",
      "ssh_username": "root",
      "ssh_password": "<PASSWORD>",
      "shutdown_command": "shutdown -h now",
      "ssh_wait_timeout": "60m",
      "boot_wait": "5s",
      "boot_command": [
        "<esc><wait><wait>",
        "install ",
        "auto=true ",
        "priority=critical ",
        "interface=auto ",
        "url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
        "<enter>"
      ],
      "output_directory": ".packer/build/virtualbox/"
    },
    {
      "name": "docker",
      "type": "docker",
      "image": "debian:jessie",
      "changes": [
        "ENV container=docker",
        "VOLUME ['/sys/fs/cgroup','/run','/run/lock','/tmp']",
        "EXPOSE 20 80 443",
        "ENTRYPOINT /sbin/init"
      ],
      "export_path": ".packer/build/docker/docker.tar"
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "script": "scripts/setup.sh"
    }
  ],
  "post-processors": [[
    {
      "type": "compress",
      "output": "dist/docker-{{ user `version` }}.tar.gz",
      "only": ["docker"]
    },
    {
      "type": "shell-local",
      "inline": [
        "ln -s docker-{{ user `version` }}.tar.gz dist/docker-latest.tar.gz"
      ],
      "only": ["docker"]
    },
    {
      "type": "shell-local",
      "inline": [
        "cp .packer/build/qemu/packer-qemu dist/qemu-{{ user `version` }}.qcow2",
        "ln -s qemu-{{ user `version` }}.qcow2 dist/qemu-latest.qcow2"
      ],
      "only": ["qemu"]
    },
    {
      "type": "vagrant",
      "keep_input_artifact": true,
      "output": "dist/vagrant-{{ user `version` }}.box",
      "only": ["virtualbox"]
    },
    {
      "type": "shell-local",
      "inline": [
        "cp .packer/build/virtualbox/*.ova dist/virtualbox-{{ user `version` }}.ova",
        "ln -s virtualbox-{{ user `version` }}.ova dist/docker-latest.ova",
        "ln -s vagrant-{{ user `version` }}.box dist/vagrant-latest.box"
      ],
      "only": ["virtualbox"]
    },
    {
      "type": "manifest",
      "output": ".packer/build/manifest.json",
      "strip_path": true
    },
    {
      "type": "checksum",
      "checksum_types": ["md5","sha1", "sha256", "sha512"],
      "output": ".packer/build/checksums.txt"
    }
  ]]
}
<commit_msg>packer/build: Update ISO for qemu target<commit_after>{
  "variables": {
    "disk_size": "100000",
    "headless": "true",
    "iso_url": "https://cdimage.debian.org/debian-cd/8.8.0/amd64/iso-cd/debian-8.8.0-amd64-netinst.iso",
    "iso_checksum": "2c07ff8cc766767610566297b8729740f923735e790c8e78b718fb93923b448e",
    "version": "{{ env `VERSION`}}"
  },
  "builders": [
    {
      "name": "qemu",
      "type": "qemu",
      "format": "qcow2",
      "headless": "{{ user `headless` }}",
      "accelerator": "kvm",
      "disk_interface": "virtio-scsi",
      "disk_size": "{{ user `disk_size` }}",
      "iso_url": "{{ user `iso_url` }}",
      "iso_checksum": "{{ user `iso_checksum` }}",
      "iso_checksum_type": "sha256",
      "http_directory": "packer/http",
      "ssh_username": "root",
      "ssh_password": "<PASSWORD>",
      "shutdown_command": "shutdown -h now",
      "ssh_wait_timeout": "60m",
      "boot_wait": "2s",
      "boot_command": [
        "<esc><wait><wait>",
        "install ",
        "auto=true ",
        "priority=critical ",
        "interface=auto ",
        "url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
        "<enter>"
      ],
      "output_directory": ".packer/build/qemu/"
    },
    {
      "name": "virtualbox",
      "type": "virtualbox-iso",
      "format": "ova",
      "headless": "{{ user `headless` }}",
      "disk_size": "{{ user `disk_size` }}",
      "guest_os_type": "Debian_64",
      "iso_url": "{{ user `iso_url` }}",
      "iso_checksum": "{{ user `iso_checksum` }}",
      "iso_checksum_type": "sha256",
      "http_directory": "packer/http",
      "ssh_username": "root",
      "ssh_password": "<PASSWORD>",
      "shutdown_command": "shutdown -h now",
      "ssh_wait_timeout": "60m",
      "boot_wait": "5s",
      "boot_command": [
        "<esc><wait><wait>",
        "install ",
        "auto=true ",
        "priority=critical ",
        "interface=auto ",
        "url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
        "<enter>"
      ],
      "output_directory": ".packer/build/virtualbox/"
    },
    {
      "name": "docker",
      "type": "docker",
      "image": "debian:jessie",
      "changes": [
        "ENV container=docker",
        "VOLUME ['/sys/fs/cgroup','/run','/run/lock','/tmp']",
        "EXPOSE 20 80 443",
        "ENTRYPOINT /sbin/init"
      ],
      "export_path": ".packer/build/docker/docker.tar"
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "script": "scripts/setup.sh"
    }
  ],
  "post-processors": [[
    {
      "type": "compress",
      "output": "dist/docker-{{ user `version` }}.tar.gz",
      "only": ["docker"]
    },
    {
      "type": "shell-local",
      "inline": [
        "ln -s docker-{{ user `version` }}.tar.gz dist/docker-latest.tar.gz"
      ],
      "only": ["docker"]
    },
    {
      "type": "shell-local",
      "inline": [
        "cp .packer/build/qemu/packer-qemu dist/qemu-{{ user `version` }}.qcow2",
        "ln -s qemu-{{ user `version` }}.qcow2 dist/qemu-latest.qcow2"
      ],
      "only": ["qemu"]
    },
    {
      "type": "vagrant",
      "keep_input_artifact": true,
      "output": "dist/vagrant-{{ user `version` }}.box",
      "only": ["virtualbox"]
    },
    {
      "type": "shell-local",
      "inline": [
        "cp .packer/build/virtualbox/*.ova dist/virtualbox-{{ user `version` }}.ova",
        "ln -s virtualbox-{{ user `version` }}.ova dist/docker-latest.ova",
        "ln -s vagrant-{{ user `version` }}.box dist/vagrant-latest.box"
      ],
      "only": ["virtualbox"]
    },
    {
      "type": "manifest",
      "output": ".packer/build/manifest.json",
      "strip_path": true
    },
    {
      "type": "checksum",
      "checksum_types": ["md5","sha1", "sha256", "sha512"],
      "output": ".packer/build/checksums.txt"
    }
  ]]
}

{'fraction_non_alphanumeric': 0.2181010839754473, 'fraction_numerical': 0.02481389578163772, 'mean_word_length': 2.2965992251399054, 'pattern_counts': {'":': 146, '<': 23, '<?xml version=': 0, '>': 23, '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': '185144', 'n_tokens_mistral': 2948, 'n_tokens_neox': 2806, 'n_words': 461}