Files
vms/attic/36-x86_64.ks
T

24 lines
550 B
Plaintext
Raw Normal View History

2022-05-27 01:04:24 -05:00
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
2022-06-01 10:10:41 -05:00
%include /tmp/packer_ks/fedora/f36/fedora-cloud-base-vagrant.ks
2022-05-27 01:04:24 -05:00
%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}")"
2022-06-08 01:39:37 -05:00
if [ ! -e /dev/vda ]; then
ln -s /dev/sda /dev/vda
fi
2022-05-27 01:04:24 -05:00
%end