diff --git a/builder/templates/rhel-8.0.ks b/builder/templates/rhel-8.0.ks new file mode 100644 index 000000000..16ff99cc4 --- /dev/null +++ b/builder/templates/rhel-8.0.ks @@ -0,0 +1,28 @@ +# Kickstart file for rhel-8.0 +# Generated by libguestfs.git/builder/templates/make-template.ml + +install +text +reboot +lang en_US.UTF-8 +keyboard us +network --bootproto dhcp +rootpw builder +firewall --enabled --ssh +timezone --utc America/New_York +selinux --enforcing + +bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH" + +zerombr +clearpart --all --initlabel --disklabel=gpt +autopart --type=plain + +# Halt the system once configuration has finished. +poweroff + +%packages +@core +%end + +# EOF diff --git a/builder/templates/rhel-8.0.virt-install-cmd b/builder/templates/rhel-8.0.virt-install-cmd new file mode 100644 index 000000000..9a2392498 --- /dev/null +++ b/builder/templates/rhel-8.0.virt-install-cmd @@ -0,0 +1,20 @@ +# This is the virt-install command which was used to create +# the virt-builder template 'rhel-8.0' +# NB: This file is generated for documentation purposes ONLY! +# This script was never run, and is not intended to be run. + +'virt-install' \ + '--transient' \ + '--name=tmp-ea74up2j' \ + '--ram=2048' \ + '--arch=x86_64' \ + '--cpu=host' \ + '--vcpus=4' \ + '--os-variant=rhel8.0' \ + '--initrd-inject=rhel-8.0.ks' \ + '--extra-args=ks=file:/rhel-8.0.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \ + '--disk=/home/rjones/d/libguestfs/builder/templates/tmp-ea74up2j.img,size=6,format=raw' \ + '--location=http://download.eng.bos.redhat.com/released/RHEL-8/8.0.0/BaseOS/x86_64/os' \ + '--serial=pty' \ + '--nographics' +