* Do some better linting * Update names, Packer version, and more * Do not lint on push * More linting and scripting * Cleanup shellcheck lint * Add Packer format check * Fix Packer formatting * Limit to only one * Remove generated HCL files * Only lint checked files * Use pipes instead * Improve attempt to build Actually go back to attempting to build boxes on GitHub. Maybe it will work better with this structure * Change to using environment files * Initialize plugins, first * More verbose usage of the file * Do the output properly this time * PACKER_LOG set to 1 * No need for python3 anymore * Limit to only one result * Choose a specific CPU model * Init separately * Update actions version * Add version outputting * Correct actions version * Try to execute qemu properly * Fix CPU model name * Do not over-subscribe GitHub runners * Try type instead of command to guard runs * Do not write to non-existent folder * Cache packer plugins * Use ~ instead of /home/greg * Try the proper path * Move to intelligent matrix * Set global env path * Add lots of waits for VBoxManage on hosted runners * Add more waits * Add more waits
20 lines
493 B
HCL
20 lines
493 B
HCL
distro = "ubuntu"
|
|
version = "20.04"
|
|
iso = {
|
|
url = "https://releases.ubuntu.com/20.04/ubuntu-20.04.6-live-server-amd64.iso"
|
|
checksum = "b8f31413336b9393ad5d8ef0282717b2ab19f007df2e9ed5196c13d8f9153c8b"
|
|
}
|
|
boot_wait = "3s"
|
|
boot_command = [
|
|
"<enter><enter><wait1><f6><esc><wait><bs><bs><bs><bs>",
|
|
"console=tty0 ",
|
|
"fsck.mode=skip ",
|
|
"locale=en_US ",
|
|
"auto=true ",
|
|
"priority=critical ",
|
|
"autoinstall ds=nocloud<enter><wait>"
|
|
]
|
|
cd_files = [
|
|
"distros/ubuntu/20.04/disc/*"
|
|
]
|