mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
builder: templates: Add Fedora 33
This commit is contained in:
22
builder/templates/fedora-33.index-fragment
Normal file
22
builder/templates/fedora-33.index-fragment
Normal file
@@ -0,0 +1,22 @@
|
||||
[fedora-33]
|
||||
name=Fedora® 33 Server
|
||||
osinfo=fedora33
|
||||
arch=x86_64
|
||||
file=fedora-33.xz
|
||||
checksum[sha512]=7ef3a333456ee4deda38c369616a4423652029837f7aa09862940327608d285c79e1c7ed90c3bb4814878dbdce3fa1f11a8625439739743bce73947fc80c08eb
|
||||
format=raw
|
||||
size=6442450944
|
||||
compressed_size=501145952
|
||||
expand=/dev/sda3
|
||||
notes=Fedora® 33 Server
|
||||
|
||||
This Fedora image contains only unmodified @Core group packages.
|
||||
|
||||
Fedora and the Infinity design logo are trademarks of Red Hat, Inc.
|
||||
Source and further information is available from http://fedoraproject.org/
|
||||
|
||||
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.
|
||||
|
||||
44
builder/templates/fedora-33.ks
Normal file
44
builder/templates/fedora-33.ks
Normal file
@@ -0,0 +1,44 @@
|
||||
# Kickstart file for fedora-33
|
||||
# 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
|
||||
|
||||
%post
|
||||
# Ensure the installation is up-to-date.
|
||||
dnf -y --best upgrade
|
||||
# Enable Xen domU support.
|
||||
pushd /etc/dracut.conf.d
|
||||
echo 'add_drivers+=" xen:vbd xen:vif "' > virt-builder-xen-drivers.conf
|
||||
popd
|
||||
# To make dracut config changes permanent, we need to rerun dracut.
|
||||
# Rerun dracut for the installed kernel (not the running kernel).
|
||||
# See commit 0fa52e4e45d80874bc5ea5f112f74be1d3f3472f and
|
||||
# https://www.redhat.com/archives/libguestfs/2014-June/thread.html#00045
|
||||
KERNEL_VERSION="$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n' | sort -V | tail -1)"
|
||||
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
%end
|
||||
|
||||
# EOF
|
||||
20
builder/templates/fedora-33.virt-install-cmd
Normal file
20
builder/templates/fedora-33.virt-install-cmd
Normal file
@@ -0,0 +1,20 @@
|
||||
# This is the virt-install command which was used to create
|
||||
# the virt-builder template 'fedora-33'
|
||||
# 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-hosoapgs' \
|
||||
'--ram=4096' \
|
||||
'--arch=x86_64' \
|
||||
'--cpu=host' \
|
||||
'--vcpus=4' \
|
||||
'--os-variant=fedora26' \
|
||||
'--initrd-inject=fedora-33.ks' \
|
||||
'--extra-args=ks=file:/fedora-33.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \
|
||||
'--disk=/home/rjones/d/libguestfs/builder/templates/tmp-hosoapgs.img,size=6,format=raw' \
|
||||
'--location=http://mirror.bytemark.co.uk/fedora/linux/releases/33/Server/x86_64/os/' \
|
||||
'--serial=pty' \
|
||||
'--nographics'
|
||||
|
||||
@@ -1622,6 +1622,28 @@ notes=Fedora® 32 Server
|
||||
Associated files used to prepare this template can be found in the
|
||||
same directory.
|
||||
|
||||
[fedora-33]
|
||||
name=Fedora® 33 Server
|
||||
osinfo=fedora33
|
||||
arch=x86_64
|
||||
file=fedora-33.xz
|
||||
checksum[sha512]=7ef3a333456ee4deda38c369616a4423652029837f7aa09862940327608d285c79e1c7ed90c3bb4814878dbdce3fa1f11a8625439739743bce73947fc80c08eb
|
||||
format=raw
|
||||
size=6442450944
|
||||
compressed_size=501145952
|
||||
expand=/dev/sda3
|
||||
notes=Fedora® 33 Server
|
||||
|
||||
This Fedora image contains only unmodified @Core group packages.
|
||||
|
||||
Fedora and the Infinity design logo are trademarks of Red Hat, Inc.
|
||||
Source and further information is available from http://fedoraproject.org/
|
||||
|
||||
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.
|
||||
|
||||
[freebsd-11.1]
|
||||
name=FreeBSD 11.1
|
||||
osinfo=freebsd11.1
|
||||
|
||||
Reference in New Issue
Block a user