mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
builder: templates: Add CentOS 8.2 and RHEL 8.2.
This commit is contained in:
19
builder/templates/centos-8.2.index-fragment
Normal file
19
builder/templates/centos-8.2.index-fragment
Normal 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.
|
||||
|
||||
30
builder/templates/centos-8.2.ks
Normal file
30
builder/templates/centos-8.2.ks
Normal 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
|
||||
20
builder/templates/centos-8.2.virt-install-cmd
Normal file
20
builder/templates/centos-8.2.virt-install-cmd
Normal 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'
|
||||
|
||||
29
builder/templates/rhel-8.2.ks
Normal file
29
builder/templates/rhel-8.2.ks
Normal 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
|
||||
20
builder/templates/rhel-8.2.virt-install-cmd
Normal file
20
builder/templates/rhel-8.2.virt-install-cmd
Normal 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'
|
||||
|
||||
Reference in New Issue
Block a user