builder: templates: Add CentOS 8.2 and RHEL 8.2.

This commit is contained in:
Richard W.M. Jones
2020-06-16 12:51:09 +01:00
parent 6670dc0fbf
commit 4837698d83
5 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[centos-8.2]
name=CentOS 8.2
osinfo=centos8.2
arch=x86_64
file=centos-8.2.xz
checksum[sha512]=22ecd8a97321094178592862eb47ae7552bbafbbd0d7c03c10da8eadab9bcd9dafd99f048d7520278507839ee47b16bec54f0f70ad7c8402a5ff643e62b9ae5a
format=raw
size=6442450944
compressed_size=379922752
expand=/dev/sda4
notes=CentOS 8.2
This CentOS image contains only unmodified @Core group packages.
This template was generated by a script in the libguestfs source tree:
builder/templates/make-template.ml
Associated files used to prepare this template can be found in the
same directory.

View File

@@ -0,0 +1,30 @@
# Kickstart file for centos-8.2
# 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"
url --url="http://mirror.centos.org/centos-8/8/BaseOS/x86_64/os"
zerombr
clearpart --all --initlabel --disklabel=gpt
autopart --type=plain
# Halt the system once configuration has finished.
poweroff
%packages
@core
%end
# EOF

View File

@@ -0,0 +1,20 @@
# This is the virt-install command which was used to create
# the virt-builder template 'centos-8.2'
# 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-y2rkkuka' \
'--ram=4096' \
'--arch=x86_64' \
'--cpu=host' \
'--vcpus=4' \
'--os-variant=rhel8.0' \
'--initrd-inject=centos-8.2.ks' \
'--extra-args=ks=file:/centos-8.2.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \
'--disk=/home/rjones/d/libguestfs/builder/templates/tmp-y2rkkuka.img,size=6,format=raw' \
'--location=http://mirror.centos.org/centos-8/8/BaseOS/x86_64/kickstart' \
'--serial=pty' \
'--nographics'

View File

@@ -0,0 +1,29 @@
# Kickstart file for rhel-8.2
# 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

View File

@@ -0,0 +1,20 @@
# This is the virt-install command which was used to create
# the virt-builder template 'rhel-8.2'
# 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-97b48a0f' \
'--ram=4096' \
'--arch=x86_64' \
'--cpu=host' \
'--vcpus=4' \
'--os-variant=rhel8.0' \
'--initrd-inject=rhel-8.2.ks' \
'--extra-args=ks=file:/rhel-8.2.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \
'--disk=/home/rjones/d/libguestfs/builder/templates/tmp-97b48a0f.img,size=6,format=raw' \
'--location=http://download.eng.bos.redhat.com/released/rhel-6-7-8/rhel-8/RHEL-8/8.2.0/BaseOS/x86_64/os' \
'--serial=pty' \
'--nographics'