Lots of other, small quality of life improvements to build process Output of build serial console to artifacts upon failure Reducing verbosity of Packer, now that serial output is captured Fixed sizing problems with the boot partitions of Ubuntu versions Use of Mac builders for Virtualbox targets Updating Ubuntu builders to 22.04, as well
14 lines
327 B
Bash
Executable File
14 lines
327 B
Bash
Executable File
#!env bash
|
|
|
|
set -exo pipefail
|
|
|
|
build="${1}"
|
|
provider=virtualbox-iso.x86_64
|
|
#provider=qemu.x86_64
|
|
|
|
packer build -on-error=ask -var headless=false -var-file distros/${build}.pkrvars.hcl -except=upload -only=${provider} sources/
|
|
vagrant box add -f --name test ${build}.box
|
|
vagrant up
|
|
vagrant ssh -c "ls -la ~/"
|
|
vagrant destroy -f
|