Changeset View
Changeset View
Standalone View
Standalone View
proxmox/templates/debian_buster.json
Show All 16 Lines | |||||
"builders": [ | "builders": [ | ||||
{ | { | ||||
"type": "proxmox", | "type": "proxmox", | ||||
"proxmox_url": "{{ user `proxmox_server` }}", | "proxmox_url": "{{ user `proxmox_server` }}", | ||||
"insecure_skip_tls_verify": true, | "insecure_skip_tls_verify": true, | ||||
"username": "{{ user `username` }}", | "username": "{{ user `username` }}", | ||||
"password": "{{ user `password` }}", | "password": "{{ user `password` }}", | ||||
"node": "{{ user `proxmox_node` }}", | "node": "{{ user `proxmox_node` }}", | ||||
"vm_id": 10003, | "vm_id": 10004, | ||||
"memory": 1024, | "memory": 1024, | ||||
"sockets": "1", | "sockets": "1", | ||||
"cores": 2, | "cores": 2, | ||||
"network_adapters": [ | "network_adapters": [ | ||||
{ | { | ||||
"bridge": "vmbr0", | "bridge": "vmbr0", | ||||
"model": "virtio" | "model": "virtio" | ||||
} | } | ||||
], | ], | ||||
"scsi_controller": "virtio-scsi-pci", | "scsi_controller": "virtio-scsi-pci", | ||||
"disks": [ | "disks": [ | ||||
{ | { | ||||
"type": "virtio", | "type": "virtio", | ||||
"disk_size": "20G", | "disk_size": "20G", | ||||
"storage_pool": "proxmox", | "storage_pool": "proxmox", | ||||
"storage_pool_type": "cephfs" | "storage_pool_type": "cephfs" | ||||
} | } | ||||
], | ], | ||||
"qemu_agent": "true", | "qemu_agent": "true", | ||||
"cloud_init": "true", | "cloud_init": "true", | ||||
"cloud_init_storage_pool": "proxmox", | "cloud_init_storage_pool": "proxmox", | ||||
"iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.6.0-amd64-netinst.iso", | "iso_url": "https://cdimage.debian.org/cdimage/archive/10.10.0/amd64/iso-cd/debian-10.10.0-amd64-netinst.iso", | ||||
"iso_checksum": "2af8f43d4a7ab852151a7f630ba596572213e17d3579400b5648eba4cc974ed0", | "iso_checksum": "c433254a7c5b5b9e6a05f9e1379a0bd6ab3323f89b56537b684b6d1bd1f8b6ad", | ||||
"iso_storage_pool": "proxmox-cephfs", | "iso_storage_pool": "proxmox-cephfs", | ||||
"unmount_iso": "true", | "unmount_iso": "true", | ||||
"http_directory": "config", | "http_directory": "config", | ||||
"http_port_min": "8888", | "http_port_min": "8888", | ||||
"http_port_max": "8888", | "http_port_max": "8888", | ||||
"boot_wait": "10s", | "boot_wait": "10s", | ||||
Show All 23 Lines | "builders": [ | ||||
], | ], | ||||
"ssh_host": "{{ user `ip` }}", | "ssh_host": "{{ user `ip` }}", | ||||
"ssh_username": "installer", | "ssh_username": "installer", | ||||
"ssh_timeout": "15m", | "ssh_timeout": "15m", | ||||
"ssh_password": "installer", | "ssh_password": "installer", | ||||
"template_name": "debian-buster-{{ user `template-suffix` }}", | "template_name": "debian-buster-10.10-{{ user `template-suffix` }}", | ||||
"template_description": "debian buster, generated on {{ user `template-date` }}" | "template_description": "debian buster, generated on {{ user `template-date` }}" | ||||
} | } | ||||
], | ], | ||||
"provisioners": [ | "provisioners": [ | ||||
{ | { | ||||
"type": "shell", | "type": "shell", | ||||
"expect_disconnect": "false", | "expect_disconnect": "false", | ||||
"execute_command": "echo 'installer'|{{.Vars}} sudo -S -E bash '{{.Path}}'", | "execute_command": "echo 'installer'|{{.Vars}} sudo -S -E bash '{{.Path}}'", | ||||
Show All 22 Lines |