builder: templates: Build CentOS 7.6.

This commit is contained in:
Richard W.M. Jones
2018-12-06 15:45:34 +00:00
parent 02086837d0
commit b8a7672936
4 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[centos-7.6]
name=CentOS 7.6
osinfo=centos7.6
arch=x86_64
file=centos-7.6.xz
checksum[sha512]=aec0e3b2c012d97e01ff81afe924ce36f5fc8d8688f0ffc83f304f138619935af19d12525f1479f724c35a758feb92b659397805b0fab1fdc482ff5bf6e924d5
format=raw
size=6442450944
compressed_size=323800576
expand=/dev/sda4
notes=CentOS 7.6
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,28 @@
# Kickstart file for centos-7.6
# 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 'centos-7.6'
# 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-pi6i1jmm' \
'--ram=2048' \
'--arch=x86_64' \
'--cpu=host' \
'--vcpus=4' \
'--os-variant=centos7.0' \
'--initrd-inject=centos-7.6.ks' \
'--extra-args=ks=file:/centos-7.6.ks proxy=http://cache.home.annexia.org:3128 console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \
'--disk=/home/rjones/d/libguestfs/builder/templates/tmp-pi6i1jmm.img,size=6,format=raw' \
'--location=http://mirror.centos.org/centos-7/7/os/x86_64/' \
'--serial=pty' \
'--nographics'

View File

@@ -156,6 +156,25 @@ notes=CentOS 7.5
Associated files used to prepare this template can be found in the
same directory.
[centos-7.6]
name=CentOS 7.6
osinfo=centos7.6
arch=x86_64
file=centos-7.6.xz
checksum[sha512]=aec0e3b2c012d97e01ff81afe924ce36f5fc8d8688f0ffc83f304f138619935af19d12525f1479f724c35a758feb92b659397805b0fab1fdc482ff5bf6e924d5
format=raw
size=6442450944
compressed_size=323800576
expand=/dev/sda4
notes=CentOS 7.6
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.
[cirros-0.3.1]
name=CirrOS 0.3.1
arch=x86_64