Compare commits
	
		
			2 commits
		
	
	
		
			d201b6e36c
			...
			8b22eaf8e9
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8b22eaf8e9 | |||
| a950a197a4 | 
					 1 changed files with 37 additions and 35 deletions
				
			
		|  | @ -1,8 +1,6 @@ | ||||||
| { | { | ||||||
|   "description": "Debian Babelbox", |  | ||||||
|   "builders": [ |   "builders": [ | ||||||
|     { |     { | ||||||
|       "type": "virtualbox-iso", |  | ||||||
|       "boot_command": [ |       "boot_command": [ | ||||||
|         "<esc><wait>", |         "<esc><wait>", | ||||||
|         "install <wait>", |         "install <wait>", | ||||||
|  | @ -23,15 +21,15 @@ | ||||||
|       "hard_drive_interface": "sata", |       "hard_drive_interface": "sata", | ||||||
|       "headless": false, |       "headless": false, | ||||||
|       "http_directory": "http", |       "http_directory": "http", | ||||||
|       "iso_checksum": "6a901b5abe43d88b39d627e1339d15507cc38f980036b928f835e0f0e957d3d8", |       "iso_checksum": "sha256:1257373c706d8c07e6917942736a865dfff557d21d76ea3040bb1039eb72a054", | ||||||
|       "iso_checksum_type": "sha256", |       "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.9.0-amd64-netinst.iso", | ||||||
|       "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.3.0-amd64-netinst.iso", |       "output_directory": "babelbox-virtualbox", | ||||||
|       "shutdown_command": "sudo systemctl poweroff", |       "shutdown_command": "sudo systemctl poweroff", | ||||||
|       "ssh_username": "demo", |  | ||||||
|       "ssh_password": "babelbox", |       "ssh_password": "babelbox", | ||||||
|       "ssh_port": "22", |       "ssh_port": "22", | ||||||
|       "ssh_wait_timeout": "1800s", |       "ssh_timeout": "1800s", | ||||||
|       "vm_name": "babelbox-buster", |       "ssh_username": "demo", | ||||||
|  |       "type": "virtualbox-iso", | ||||||
|       "vboxmanage": [ |       "vboxmanage": [ | ||||||
|         [ |         [ | ||||||
|           "modifyvm", |           "modifyvm", | ||||||
|  | @ -46,27 +44,10 @@ | ||||||
|           "1" |           "1" | ||||||
|         ] |         ] | ||||||
|       ], |       ], | ||||||
|       "output_directory": "babelbox-virtualbox" |       "vm_name": "babelbox-bookworm" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "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", |       "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": [ |       "boot_command": [ | ||||||
|         "<esc><wait>", |         "<esc><wait>", | ||||||
|         "install <wait>", |         "install <wait>", | ||||||
|  | @ -82,38 +63,59 @@ | ||||||
|         "keyboard-configuration/xkb-keymap=de <wait>", |         "keyboard-configuration/xkb-keymap=de <wait>", | ||||||
|         "<enter><wait>" |         "<enter><wait>" | ||||||
|       ], |       ], | ||||||
|  |       "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", |       "memory": "1024", | ||||||
|  |       "net_device": "virtio-net", | ||||||
|  |       "output_directory": "babelbox-qemu", | ||||||
|       "qemuargs": [ |       "qemuargs": [ | ||||||
|         ["-display", "sdl"] |         [ | ||||||
|  |           "-display", | ||||||
|  |           "sdl" | ||||||
|         ] |         ] | ||||||
|  |       ], | ||||||
|  |       "shutdown_command": "sudo systemctl poweroff", | ||||||
|  |       "ssh_password": "babelbox", | ||||||
|  |       "ssh_timeout": "20m", | ||||||
|  |       "ssh_username": "demo", | ||||||
|  |       "type": "qemu", | ||||||
|  |       "vm_name": "babelbox-bookworm" | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|  |   "description": "Debian Babelbox", | ||||||
|   "provisioners": [ |   "provisioners": [ | ||||||
|     { |     { | ||||||
|       "type": "shell", |  | ||||||
|       "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", |       "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", | ||||||
|       "scripts": [ |       "scripts": [ | ||||||
|         "scripts/babelbox-partitions.sh", |         "scripts/babelbox-partitions.sh", | ||||||
|         "scripts/setup-babelbox.sh" |         "scripts/setup-babelbox.sh" | ||||||
|       ] |       ], | ||||||
|  |       "type": "shell" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "type": "shell", |       "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", | ||||||
|       "only": [ |       "only": [ | ||||||
|         "virtualbox-iso" |         "virtualbox-iso" | ||||||
|       ], |       ], | ||||||
|       "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", |  | ||||||
|       "scripts": [ |       "scripts": [ | ||||||
|         "scripts/virtualbox.sh" |         "scripts/virtualbox.sh" | ||||||
|       ] |       ], | ||||||
|  |       "type": "shell" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "type": "shell", |  | ||||||
|       "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", |       "execute_command": "{{ .Vars }} sudo -E /bin/sh '{{ .Path }}'", | ||||||
|       "scripts": [ |       "scripts": [ | ||||||
|         "scripts/cleanup.sh", |         "scripts/cleanup.sh", | ||||||
|         "scripts/minimize.sh" |         "scripts/minimize.sh" | ||||||
|       ] |       ], | ||||||
|  |       "type": "shell" | ||||||
|     } |     } | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue