Skip to content

Instantly share code, notes, and snippets.

@Asharas
Last active November 13, 2020 16:57
Show Gist options
  • Save Asharas/e1959e39995a9d5d43bfccb5e6a5045b to your computer and use it in GitHub Desktop.
Save Asharas/e1959e39995a9d5d43bfccb5e6a5045b to your computer and use it in GitHub Desktop.
deb_buster_x64_ci.json
{
"builders": [
{
"type": "proxmox-iso",
"proxmox_url": "https://proxmox.example.com:8006/api2/json",
"insecure_skip_tls_verify": true,
"username": "apiuser@pve",
"password": "apiuser",
"node": "proxmox",
"qemu_agent": true,
"cpu_type": "host",
"cores": 2,
"memory": 2048,
"network_adapters": [
{
"model": "virtio",
"bridge": "vmbr0"
}
],
"scsi_controller": "virtio-scsi-pci",
"disks": [
{
"type": "scsi",
"disk_size": "15G",
"storage_pool": "local-lvm",
"storage_pool_type": "lvm-thin",
"format": "raw"
}
],
"iso_file": "local:iso/debian-10.5.0-amd64-netinst.iso",
"http_directory": "./",
"boot_wait": "10s",
"boot_command": [
"<esc> auto ip=dhcp url=http://{{.HTTPIP}}:{{.HTTPPort}}/preseed_ci.cfg<enter>"
],
"cloud_init": true,
"ssh_username": "debian",
"ssh_password": "debian",
"ssh_timeout": "30m",
"unmount_iso": true,
"template_name": "deb10x64-ci-template"
}
],
"provisioners": [
{
"type": "ansible",
"playbook_file": "./provisioners/ansible/del_default_user.yml",
"extra_arguments": [
"--extra-vars",
"ansible_become_password=debian"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment