From 911ad9c2e6d2d40df541b66094b6c5ed5c09601a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 8 Nov 2019 12:14:39 -0800 Subject: [PATCH] docs: Increase root filesystem to 2000 in rhel-minimal.ks Also add comments to the top of the example kickstarts describing how they are meant to be used and providing an example cmdline. In some cases, like rhel-minimal.ks, it can also be used for a live-iso but requires a couple of extra packages for that to work. Resolves: rhbz#1730937 --- docs/rhel-container.ks | 4 +++- docs/rhel-livemedia.ks | 5 ++++- docs/rhel-minimal.ks | 9 ++++++++- docs/rhel-minimized.ks | 6 ++++++ docs/rhel-openstack.ks | 2 ++ docs/rhel-vagrant.ks | 3 ++- 6 files changed, 25 insertions(+), 4 deletions(-) diff --git a/docs/rhel-container.ks b/docs/rhel-container.ks index 62c354db..f8aeb363 100644 --- a/docs/rhel-container.ks +++ b/docs/rhel-container.ks @@ -1,5 +1,7 @@ # Minimal install for containers - +# NOTE: This example is for creating a tar, eg. +# livemedia-creator --project RHEL --releasever 8 --make-tar --ks=rhel-container.ks --no-virt +# # Use network installation url --url="http://URL-TO-BASEOS/" repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/" diff --git a/docs/rhel-livemedia.ks b/docs/rhel-livemedia.ks index a6b67516..ba29b5f7 100644 --- a/docs/rhel-livemedia.ks +++ b/docs/rhel-livemedia.ks @@ -1,4 +1,7 @@ -#version=DEVEL +# Live ISO Image +# NOTE: This example is for creating a live-iso, eg. +# livemedia-creator --project RHEL --releasever 8 --make-iso --ks=rhel-livemedia.ks --no-virt + # X Window System configuration information xconfig --startxonboot # Keyboard layouts diff --git a/docs/rhel-minimal.ks b/docs/rhel-minimal.ks index e8f39c62..b99012ec 100644 --- a/docs/rhel-minimal.ks +++ b/docs/rhel-minimal.ks @@ -1,4 +1,11 @@ # Minimal Disk Image +# NOTE: This example is for creating a disk image, eg. +# livemedia-creator --project RHEL --releasever 8 --make-disk --ks=rhel-minimal.ks --no-virt +# +# Using it for a live-iso will require adding: +# dracut-live +# system-logos + # # Firewall configuration firewall --enabled @@ -27,7 +34,7 @@ bootloader --location=mbr # Partition clearing information clearpart --all --initlabel # Disk partitioning information -part / --fstype="ext4" --size=1500 +part / --fstype="ext4" --size=2000 part swap --size=512 %post diff --git a/docs/rhel-minimized.ks b/docs/rhel-minimized.ks index 97e26d0e..bfa4d061 100644 --- a/docs/rhel-minimized.ks +++ b/docs/rhel-minimized.ks @@ -1,4 +1,10 @@ # Minimal Disk Image -- Example of image-minimizer usage in %post +# NOTE: This example is for creating a disk image, eg. +# livemedia-creator --project RHEL --releasever 8 --make-disk --ks=rhel-minimized.ks --no-virt +# +# Using it for a live-iso will require adding: +# dracut-live +# system-logos # # Firewall configuration firewall --enabled diff --git a/docs/rhel-openstack.ks b/docs/rhel-openstack.ks index d23efc8c..7a9a4a8e 100644 --- a/docs/rhel-openstack.ks +++ b/docs/rhel-openstack.ks @@ -1,4 +1,6 @@ # Minimal Disk Image +# NOTE: This example is for creating a qcow2 OpenStack disk image, eg. +# livemedia-creator --project RHEL --releasever 8 --make-disk --image-type=qcow2 --ks=rhel-openstack.ks --no-virt # # Firewall configuration firewall --enabled diff --git a/docs/rhel-vagrant.ks b/docs/rhel-vagrant.ks index 4452b539..6e3824a6 100644 --- a/docs/rhel-vagrant.ks +++ b/docs/rhel-vagrant.ks @@ -1,6 +1,7 @@ # Minimal Vagrant Disk Image +# NOTE: This example is for creating a Vagrant disk image, eg. +# livemedia-creator --project RHEL --releasever 8 --make-vagrant --ks=rhel-vagrant.ks --no-virt # - # Firewall configuration firewall --enabled # Use network installation