diff --git a/debian-babelbox.json b/debian-babelbox.json index fb2a1d6..c16aa92 100644 --- a/debian-babelbox.json +++ b/debian-babelbox.json @@ -1,6 +1,8 @@ { + "description": "Debian Babelbox", "builders": [ { + "type": "virtualbox-iso", "boot_command": [ "", "install ", @@ -21,15 +23,15 @@ "hard_drive_interface": "sata", "headless": false, "http_directory": "http", - "iso_checksum": "sha256:1257373c706d8c07e6917942736a865dfff557d21d76ea3040bb1039eb72a054", - "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.9.0-amd64-netinst.iso", - "output_directory": "babelbox-virtualbox", + "iso_checksum": "6a901b5abe43d88b39d627e1339d15507cc38f980036b928f835e0f0e957d3d8", + "iso_checksum_type": "sha256", + "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.3.0-amd64-netinst.iso", "shutdown_command": "sudo systemctl poweroff", + "ssh_username": "demo", "ssh_password": "babelbox", "ssh_port": "22", - "ssh_timeout": "1800s", - "ssh_username": "demo", - "type": "virtualbox-iso", + "ssh_wait_timeout": "1800s", + "vm_name": "babelbox-buster", "vboxmanage": [ [ "modifyvm", @@ -44,10 +46,27 @@ "1" ] ], - "vm_name": "babelbox-bookworm" + "output_directory": "babelbox-virtualbox" }, { + "type": "qemu", + "iso_checksum": "6a901b5abe43d88b39d627e1339d15507cc38f980036b928f835e0f0e957d3d8", + "iso_checksum_type": "sha256", + "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.3.0-amd64-netinst.iso", + "output_directory": "babelbox-qemu", + "shutdown_command": "sudo systemctl poweroff", + "disk_size": "10240M", + "format": "qcow2", "accelerator": "kvm", + "http_directory": "http-qemu", + "ssh_username": "demo", + "ssh_password": "babelbox", + "ssh_timeout": "20m", + "vm_name": "babelbox-buster", + "net_device": "virtio-net", + "disk_interface": "virtio", + "disk_detect_zeroes": "on", + "boot_wait": "10s", "boot_command": [ "", "install ", @@ -63,59 +82,38 @@ "keyboard-configuration/xkb-keymap=de ", "" ], - "boot_wait": "10s", - "disk_detect_zeroes": "on", - "disk_interface": "virtio", - "disk_size": "10240M", - "format": "qcow2", - "http_directory": "http-qemu", - "iso_checksum": "sha256:1257373c706d8c07e6917942736a865dfff557d21d76ea3040bb1039eb72a054", - "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.9.0-amd64-netinst.iso", "memory": "1024", - "net_device": "virtio-net", - "output_directory": "babelbox-qemu", "qemuargs": [ - [ - "-display", - "sdl" - ] - ], - "shutdown_command": "sudo systemctl poweroff", - "ssh_password": "babelbox", - "ssh_timeout": "20m", - "ssh_username": "demo", - "type": "qemu", - "vm_name": "babelbox-bookworm" + ["-display", "sdl"] + ] } ], - "description": "Debian Babelbox", "provisioners": [ { + "type": "shell", "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", "scripts": [ "scripts/babelbox-partitions.sh", "scripts/setup-babelbox.sh" - ], - "type": "shell" + ] }, { - "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", + "type": "shell", "only": [ "virtualbox-iso" ], + "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", "scripts": [ "scripts/virtualbox.sh" - ], - "type": "shell" + ] }, { + "type": "shell", "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", "scripts": [ "scripts/cleanup.sh", "scripts/minimize.sh" - ], - "type": "shell" + ] } ] } -