{
  "builders": [
    {
      "boot_command": [
        "<tab> ssh=grml <enter>"
      ],
      "boot_wait": "5s",
      "guest_additions_sha256": "bffc316a7b8d5ed56d830e9f6aef02b4e5ffc28674032142e96ffbedd905f8c9",
      "guest_additions_url": "https://download.virtualbox.org/virtualbox/6.1.22/VBoxGuestAdditions_6.1.22.iso",
      "guest_os_type": "Debian_64",
      "hard_drive_interface": "sata",
      "headless": false,
      "iso_checksum": "sha1:{{ user `grml_iso_checksum` }}",
      "iso_url": "http://download.grml.org/{{ user `grml_type` }}_{{ user `grml_version` }}.iso",
      "output_directory": "{{ user `grml_type` }}_output",
      "shutdown_command": "shutdown -h now",
      "ssh_password": "grml",
      "ssh_timeout": "20m",
      "ssh_username": "root",
      "type": "virtualbox-iso",
      "vboxmanage": [
        [
          "modifyvm",
          "{{.Name}}",
          "--memory",
          "1024"
        ]
      ],
      "vm_name": "{{ user `grml_type` }}_{{ user `grml_version` }}"
    }
  ],
  "post-processors": [
    {
      "override": {
        "virtualbox": {
          "output": "debian64_{{ user `debian_version` }}.box"
        }
      },
      "type": "vagrant"
    }
  ],
  "provisioners": [
    {
      "destination": "/tmp/fake-uname.so",
      "source": "fake-uname.so",
      "type": "file"
    },
    {
      "destination": "/tmp/debian64.bats",
      "source": "debian64.bats",
      "type": "file"
    },
    {
      "inline": "mkdir -vp /tmp/grml-debootstrap/",
      "type": "shell"
    },
    {
      "destination": "/tmp/grml-debootstrap/",
      "source": "{{ user `grml_debootstrap_local_path` }}/",
      "type": "file"
    },
    {
      "environment_vars": [
        "GRML_DEBOOTSTRAP_VERSION={{ user `grml_debootstrap_version` }}",
        "DEBIAN_VERSION={{ user `debian_version` }}"
      ],
      "scripts": [
        "debian64_provision.sh"
      ],
      "type": "shell"
    }
  ],
  "variables": {
    "debian_version": "trixie",
    "grml_debootstrap_local_path": "doesnotexist",
    "grml_debootstrap_version": "latest",
    "grml_iso_checksum": "ac071ab44592568b05635ccdd881da4f2a90c3a8",
    "grml_type": "grml64-full",
    "grml_version": "2022.11"
  }
}
