opensuse15.json (1796B)
1 { 2 "variables": { 3 "username": "{{env `PM_USER`}}", 4 "password": "{{env `PM_PASS`}}", 5 "api_url": "{{env `PM_API_URL`}}", 6 "pve_node": "{{env `PM_NODE`}}", 7 "pve_pool": "{{env `PM_POOL`}}", 8 "manifest": "manifest.json" 9 }, 10 "sensitive-variables": ["password"], 11 "builders": [ 12 { 13 "type": "proxmox", 14 "proxmox_url": "{{user `api_url`}}", 15 "username": "{{user `username`}}", 16 "password": "{{user `password`}}", 17 "node": "{{user `pve_node`}}", 18 "pool": "{{user `pve_pool`}}", 19 "network_adapters": [ 20 { 21 "bridge": "vmbr0", 22 "model": "virtio" 23 } 24 ], 25 "disks": [ 26 { 27 "disk_size": "5G", 28 "storage_pool": "local-lvm", 29 "storage_pool_type": "lvm" 30 } 31 ], 32 "memory": "1024", 33 "cpu_type": "host", 34 "scsi_controller": "virtio-scsi-pci", 35 36 "iso_file": "shared:iso/openSUSE-Leap-15.1-DVD-x86_64.iso", 37 "os": "l26", 38 "http_directory":"config", 39 "boot_wait": "10s", 40 "boot_command": [ 41 "<esc><enter><wait>", 42 "linux ", 43 "ipv6.disable=1 ", 44 "biosdevname=0 ", 45 "net.ifnames=0 ", 46 "netdevice=eth0 ", 47 "netsetup=dhcp ", 48 "textmode=1 ", 49 "autoyast=http://{{.HTTPIP}}:{{.HTTPPort}}/autoinst.xml", 50 "<enter>" 51 ], 52 "ssh_username": "root", 53 "ssh_timeout": "15m", 54 "pause_before_connecting": "2m", 55 "ssh_password": "root", 56 57 "unmount_iso": true, 58 "template_name": "opensuse15-1-{{ isotime \"20060102-150405\" }}", 59 "template_description": "openSUSE 15.1, generated on {{ isotime }}" 60 } 61 ], 62 "post-processors": [ 63 { 64 "type": "manifest", 65 "output": "{{user `manifest`}}", 66 "strip_path": true 67 } 68 ] 69 }