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
24 lines
554 B
Plaintext
24 lines
554 B
Plaintext
text
|
|
|
|
%packages
|
|
# There is weirdness with the /etc/resolv.conf in the target system
|
|
# that causes some of the imported systems to fail. Hopefully this
|
|
# prevents that.
|
|
-systemd-resolved
|
|
NetworkManager
|
|
%end
|
|
|
|
%include /tmp/packer_ks/fedora/rawhide/fedora-cloud-base-vagrant.ks
|
|
|
|
%pre --interpreter /bin/bash --log /tmp/greg
|
|
cmdline=$(cat /proc/cmdline)
|
|
ks=$(printf "${cmdline}" | sed -E -e 's/.*inst\.ks=([^ ]*).*/\1/')
|
|
mkdir -p /tmp/packer_ks
|
|
cd /tmp/packer_ks
|
|
wget -m -nH "$(dirname "${ks}")"
|
|
|
|
if [ ! -e /dev/vda ]; then
|
|
ln -s /dev/sda /dev/vda
|
|
fi
|
|
%end
|