docs: Update example kickstarts for RHEL/CentOS
Related: rhbz#1955674
This commit is contained in:
parent
b240c9bf1a
commit
427e364388
@ -1,7 +1,8 @@
|
||||
# Minimal Disk Image
|
||||
# Minimal tar Image
|
||||
|
||||
# Use network installation
|
||||
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/"
|
||||
url --url="http://URL-TO-BASEOS"
|
||||
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
||||
|
||||
# Root password
|
||||
rootpw --plaintext replace-this-pw
|
@ -1,28 +0,0 @@
|
||||
# Fedora Atomic PXE Live creation kickstart
|
||||
# Suitable for use with livemedia-creator --no-virt
|
||||
|
||||
# Settings for unattended installation:
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone America/New_York
|
||||
clearpart --all --initlabel
|
||||
rootpw --plaintext atomic
|
||||
|
||||
part / --fstype="ext4" --size=6000
|
||||
|
||||
shutdown
|
||||
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://dl.fedoraproject.org/pub/fedora/linux/atomic/24/ --ref=fedora-atomic/rawhide/x86_64/docker-host
|
||||
|
||||
services --disabled=cloud-init,cloud-init-local,cloud-final,cloud-config,docker-storage-setup
|
||||
|
||||
# We copy content of separate /boot partition to root part when building live squashfs image,
|
||||
# and we don't want systemd to try to mount it when pxe booting
|
||||
%post
|
||||
cat /dev/null > /etc/fstab
|
||||
%end
|
||||
|
||||
%post --erroronfail
|
||||
rm -f /etc/ostree/remotes.d/fedora-atomic.conf
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/24/'
|
||||
%end
|
@ -1,24 +0,0 @@
|
||||
# Settings for unattended installation:
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone America/New_York
|
||||
clearpart --all --initlabel
|
||||
rootpw --plaintext atomic
|
||||
|
||||
# We are only able to install atomic with separate /boot partition currently
|
||||
part / --fstype="ext4" --size=6000
|
||||
part /boot --size=500 --fstype="ext4"
|
||||
|
||||
shutdown
|
||||
|
||||
# Using ostree repo included in installation iso. Respective ostreesetup command is included here.
|
||||
# The included kickstart file with the command is created during installation iso compose.
|
||||
%include /usr/share/anaconda/interactive-defaults.ks
|
||||
|
||||
services --disabled=cloud-init,cloud-init-local,cloud-final,cloud-config,docker-storage-setup
|
||||
|
||||
# We copy content of separate /boot partition to root part when building live squashfs image,
|
||||
# and we don't want systemd to try to mount it when pxe booting
|
||||
%post
|
||||
cat /dev/null > /etc/fstab
|
||||
%end
|
@ -10,7 +10,8 @@ timezone US/Eastern
|
||||
lang en_US.UTF-8
|
||||
# Firewall configuration
|
||||
firewall --enabled --service=mdns
|
||||
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/"
|
||||
url --url="http://URL-TO-BASEOS"
|
||||
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
||||
# Network information
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
|
||||
@ -367,24 +368,19 @@ EOF
|
||||
%end
|
||||
|
||||
%packages
|
||||
@anaconda-tools
|
||||
@base-x
|
||||
@core
|
||||
@firefox
|
||||
@fonts
|
||||
@guest-desktop-agents
|
||||
@hardware-support
|
||||
@libreoffice
|
||||
@multimedia
|
||||
@networkmanager-submodules
|
||||
@printing
|
||||
@workstation-product
|
||||
gnome-terminal
|
||||
aajohan-comfortaa-fonts
|
||||
anaconda
|
||||
anaconda-live
|
||||
dracut-config-generic
|
||||
dracut-live
|
||||
system-logos
|
||||
glibc-all-langpacks
|
||||
kernel
|
||||
# Make sure that DNF doesn't pull in debug kernel to satisfy kmod() requires
|
@ -4,7 +4,8 @@ sshpw --username=root --plaintext randOmStrinGhERE
|
||||
# Firewall configuration
|
||||
firewall --enabled
|
||||
# Use network installation
|
||||
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/"
|
||||
url --url="http://URL-TO-BASEOS"
|
||||
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
||||
# Network information
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
|
@ -4,7 +4,8 @@ sshpw --username=root --plaintext randOmStrinGhERE
|
||||
# Firewall configuration
|
||||
firewall --enabled
|
||||
# Use network installation
|
||||
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/"
|
||||
url --url="http://URL-TO-BASEOS"
|
||||
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
||||
# Network information
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
|
@ -1,9 +1,10 @@
|
||||
# Minimal Disk Image
|
||||
# Minimal OpenStack Disk Image
|
||||
#
|
||||
# Firewall configuration
|
||||
firewall --enabled
|
||||
# Use network installation
|
||||
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/"
|
||||
url --url="http://URL-TO-BASEOS"
|
||||
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
||||
|
||||
# Root password
|
||||
rootpw --plaintext replace-this-pw
|
@ -4,7 +4,8 @@
|
||||
# Firewall configuration
|
||||
firewall --enabled
|
||||
# Use network installation
|
||||
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/"
|
||||
url --url="http://URL-TO-BASEOS"
|
||||
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
||||
# Network information
|
||||
network --bootproto=dhcp --activate
|
||||
|
Loading…
Reference in New Issue
Block a user