From c91bf6a66357121daa214c6e1f66b1b956afcf69 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 21 Jun 2022 18:09:32 +0200 Subject: [PATCH] Updating kickstarts --- kickstart/dpx-rocky8-test.ks | 107 ++++++++++++++++++ ....ks => profile.vmware-template-centos7.ks} | 0 ....ks => profile.vmware-template-centos8.ks} | 0 ...el7.ks => profile.vmware-template-oel7.ks} | 0 4 files changed, 107 insertions(+) create mode 100644 kickstart/dpx-rocky8-test.ks rename kickstart/{vmware-template-centos7.ks => profile.vmware-template-centos7.ks} (100%) rename kickstart/{vmware-template-centos8.ks => profile.vmware-template-centos8.ks} (100%) rename kickstart/{vmware-template-oel7.ks => profile.vmware-template-oel7.ks} (100%) diff --git a/kickstart/dpx-rocky8-test.ks b/kickstart/dpx-rocky8-test.ks new file mode 100644 index 0000000..a81f7f8 --- /dev/null +++ b/kickstart/dpx-rocky8-test.ks @@ -0,0 +1,107 @@ +# Sample kickstart file for current EL, Fedora based distributions. + +#platform=x86, AMD64, or Intel EM64T +# System authorization information +auth --useshadow --enablemd5 --passalgo=sha512 +# System bootloader configuration +bootloader --location=mbr --append="net.ifnames=0 biosdevname=0" --timeout=3 +# Partition clearing information +clearpart --all --initlabel --drive=sda +# Use text mode install +text +# Firewall configuration +# firewall --enabled +firewall --disabled +# Run the Setup Agent on first boot +firstboot --disable +# System keyboard +keyboard de +# System language +lang en_US +# Use network installation +# url --url="https://repo02.pixelpark.com/Linux/yum/rockylinux/8/BaseOS/x86_64/os" --noverifyssl +url --url=$tree + +# If any cobbler repo definitions were referenced in the kickstart profile, include them here. +# repo --name pp-base --baseurl http://repo02.pixelpark.com/Linux/yum/rockylinux/8/BaseOS/x86_64/os +repo --name pp-base --noverifyssl --baseurl "https://repo02.pixelpark.com/Linux/yum/rockylinux/8/BaseOS/x86_64/os" +# repo --name pp-appstream --baseurl http://repo02.pixelpark.com/Linux/yum/rockylinux/8/AppStream/x86_64/os +repo --name pp-appstream --noverifyssl --baseurl "https://repo02.pixelpark.com/Linux/yum/rockylinux/8/AppStream/x86_64/os" +# repo --name=pp-extras --baseurl=https://repo02.pixelpark.com/Linux/yum/rockylinux/$releasever/extras/$basearch/os/ +# repo --name=pp-powertools --baseurl=https://repo02.pixelpark.com/Linux/yum/rockylinux/$releasever/PowerTools/$basearch/os/ +# repo --name=pp-epel --baseurl=https://repo02.pixelpark.com/Linux/yum/epel/$releasever/Everything/$basearch/os/ +repo --name pixelpark --install --noverifyssl --baseurl "https://repo02.pixelpark.com/Linux/yum/pixelpark/8" + +# Network information +$SNIPPET('network_config') +# Reboot after installation +reboot + +#Root password +rootpw --iscrypted $6$wC8OOcConpLqQu9H$0198oDiDqUcPfNJElmV20Ja05axSORCYohS96qEvMsaZK95Lcie2bD4ftX3BkPc7YNklBSiAvyIJZ/WuUwnd21 +# SELinux configuration +selinux --permissiv +# Do not configure the X Window System +skipx +# System timezone +timezone Europe/Berlin +# Install OS instead of upgrade +# install +# Clear the Master Boot Record +zerombr +# Allow anaconda to partition the system as needed +autopart + +%pre +$SNIPPET('log_ks_pre') +$SNIPPET('autoinstall_start') +$SNIPPET('pre_install_network_config') +# Enable installation monitoring +$SNIPPET('pre_anamon') +%end + +%packages +@core +@^minimal install +-abrt* +bc +bind-utils +curl +iotop +mailx +man +mlocate +net-tools +psmisc +rsync +strace +sysstat +tcpdump +traceroute +tmux +vim +wget +yum-utils +%end + +%post --nochroot +$SNIPPET('log_ks_post_nochroot') +%end + +%post +$SNIPPET('log_ks_post') +# Start yum configuration +$yum_config_stanza +# End yum configuration +$SNIPPET('post_install_kernel_options') +$SNIPPET('post_install_network_config') +$SNIPPET('download_config_files') +$SNIPPET('koan_environment') +$SNIPPET('redhat_register') +$SNIPPET('cobbler_register') +# Enable post-install boot notification +$SNIPPET('post_anamon') +# Start final steps +$SNIPPET('autoinstall_done') +# End final steps +%end diff --git a/kickstart/vmware-template-centos7.ks b/kickstart/profile.vmware-template-centos7.ks similarity index 100% rename from kickstart/vmware-template-centos7.ks rename to kickstart/profile.vmware-template-centos7.ks diff --git a/kickstart/vmware-template-centos8.ks b/kickstart/profile.vmware-template-centos8.ks similarity index 100% rename from kickstart/vmware-template-centos8.ks rename to kickstart/profile.vmware-template-centos8.ks diff --git a/kickstart/vmware-template-oel7.ks b/kickstart/profile.vmware-template-oel7.ks similarity index 100% rename from kickstart/vmware-template-oel7.ks rename to kickstart/profile.vmware-template-oel7.ks -- 2.39.5