{ "_license": "Apache License 2.0", "builders": [ { "accelerator": "kvm", "boot_command": [ "", "install ", "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed_x86_64.cfg ", "debian-installer=en_US.UTF-8 ", "auto ", "language=en locale=en_US.UTF-8 ", "kbd-chooser/method=us ", "keyboard-configuration/xkb-keymap=us ", "netcfg/get_hostname=systemvm ", "netcfg/get_domain=apache.org ", "country=IN keymap=us ", "fb=false ", "debconf/frontend=noninteractive ", "console-setup/ask_detect=false ", "console-keymaps-at/keymap=us ", "" ], "boot_wait": "5s", "disk_interface": "virtio", "disk_size": "5000M", "format": "qcow2", "headless": true, "http_directory": "http", "iso_checksum": "sha512:0921d8b297c63ac458d8a06f87cd4c353f751eb5fe30fd0d839ca09c0833d1d9934b02ee14bbd0c0ec4f8917dde793957801ae1af3c8122cdf28dde8f3c3e0da", "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.11.0/amd64/iso-cd/debian-12.11.0-amd64-netinst.iso", "net_device": "virtio-net", "output_directory": "../dist", "qemuargs": [ [ "-m", "500M" ], [ "-smp", "1" ] ], "shutdown_command": "sudo halt -p", "ssh_password": "cloud", "ssh_timeout": "30m", "ssh_username": "cloud", "type": "qemu", "vm_name": "systemvmtemplate" } ], "description": "CloudStack SystemVM template", "provisioners": [ { "execute_command": "echo 'cloud' | sudo -u root -S bash {{.Path}}", "scripts": [ "scripts/apt_upgrade.sh", "scripts/configure_grub.sh", "scripts/configure_locale.sh", "scripts/configure_networking.sh", "scripts/configure_acpid.sh", "scripts/install_systemvm_packages.sh", "scripts/configure_conntrack.sh", "scripts/authorized_keys.sh", "scripts/configure_persistent_config.sh", "scripts/configure_login.sh", "../cloud_scripts_shar_archive.sh", "scripts/configure_systemvm_services.sh", "scripts/cleanup.sh", "scripts/finalize.sh" ], "type": "shell" } ] }