From: Frank Brehm Date: Tue, 21 Jun 2022 16:09:59 +0000 (+0200) Subject: Updating kickstarts X-Git-Tag: 2.6.2~1^2~8^2~56 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=cad689fc15266cff812dba0d4f5cf75f329ce66e;p=pixelpark%2Fcreate-vmware-tpl.git Updating kickstarts --- diff --git a/kickstart/profile.vmware-template-centos8.ks b/kickstart/profile.vmware-template-centos8.ks index a57f1d8..2a78b9d 100644 --- a/kickstart/profile.vmware-template-centos8.ks +++ b/kickstart/profile.vmware-template-centos8.ks @@ -2,21 +2,21 @@ # Centos8 for Privisioning-Installation ###################################################################################### # -# Standard Pixelpark Installation of CentOS 8 templates +# Standard Pixelpark Installation of CentOS Stream 8 templates # # Firewall configuration firewall --disabled # Use network installation -url --url="https://repo02.pixelpark.com/Linux/yum/centos/8/BaseOS/x86_64/os" --noverifyssl +url --url="https://repo02.pixelpark.com/Linux/yum/centos/8-stream/BaseOS/x86_64/os" --noverifyssl sshpw --username=inst testtest --plaintext # Root install-password rootpw --iscrypted $6$hrjmntwc$Vt1K1JQghssQ0El1D.uzbEEGNizDT4aQEW/G..HErsvsGL3OEgU1Xyrg3uQ/nE/3ABFuyOM1eQc1RjHMV5oDv1 # System authorization information -auth --useshadow --passalgo=sha512 +auth --useshadow --enablemd5 --passalgo=sha512 # Use text mode install text # System keyboard @@ -29,6 +29,8 @@ selinux --permissiv skipx # Installation logging level logging --level=debug +# Run the Setup Agent on first boot +firstboot --disable # Reboot after installation reboot # System timezone @@ -38,10 +40,10 @@ timezone Europe/Berlin # Partitioning and Disk # System bootloader configuration -bootloader --location=mbr --append="net.ifnames=0 biosdevname=0" +bootloader --location=mbr --append="net.ifnames=0 biosdevname=0" --timeout=3 # Partition clearing information -clearpart --all --drive=sda +clearpart --all --initlabel --drive=sda # Disk partitioning information part /boot --fstype ext4 --size=512 --ondisk=sda @@ -55,13 +57,12 @@ logvol /var --vgname=vgroot --name=var --size=1 --grow ########################################## # Repositories -repo --name=pp-base --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/$releasever/BaseOS/$basearch/os/ -repo --name=pp-appstream --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/$releasever/AppStream/$basearch/os/ -repo --name=pp-extras --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/$releasever/extras/$basearch/os/ -repo --name=pp-powertools --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/$releasever/PowerTools/$basearch/os/ -# repo --name=pp-epel --baseurl=https://repo02.pixelpark.com/Linux/yum/epel/$releasever/Everything/$basearch/os/ -# repo --name=pixelpark --baseurl=https://repo02.pixelpark.com/Linux/yum/pixelpark/$releasever/ - +repo --name=BaseOS --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/8-stream/BaseOS/$basearch/os/ +repo --name=AppStream --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/8-stream/AppStream/$basearch/os/ +repo --name=extras --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/8-stream/extras/$basearch/os/ +repo --name=PowerTools --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/8-stream/PowerTools/$basearch/os/ +repo --name=epel --baseurl=https://repo02.pixelpark.com/Linux/yum/epel/$releasever/Everything/$basearch/os/ +repo --name=pixelpark --install --baseurl=https://repo02.pixelpark.com/Linux/yum/pixelpark/$releasever/ %packages @core @@ -70,51 +71,74 @@ repo --name=pp-powertools --baseurl=https://repo02.pixelpark.com/Linux/yum/cento bc bind-utils curl -dosfstools git iotop -ksh mailx man mlocate net-tools -nfs-utils psmisc -python3-policycoreutils rpm-build rsync strace sysstat tcpdump -telnet +traceroute tmux vim wget yum-utils %end -####################### -# Packages later: -# bgconf -# bgscripts-core -# colordiff -# -*firmware -# p7zip -# screen - %post --interpreter=/usr/bin/bash - ###################################################################################### # Installation of pixelpark standard applications ###################################################################################### - ### output to console clear POST_LOG="/var/log/post-install.log" exec < /dev/console &> >(tee -a "$POST_LOG") +# Start yum configuration +$yum_config_stanza +# End yum configuration + +echo +echo "Snippet post_install_kernel_options ..." +$SNIPPET('post_install_kernel_options') + +echo +echo "Snippet post_install_network_config ..." +$SNIPPET('post_install_network_config') + +echo +echo "Snippet download_config_files ..." +$SNIPPET('download_config_files') + +echo +echo "Snippet koan_environment ..." +$SNIPPET('koan_environment') + +echo +echo "Snippet redhat_register ..." +$SNIPPET('redhat_register') + +echo +echo "Snippet cobbler_register ..." +$SNIPPET('cobbler_register') + +# Enable post-install boot notification +echo +echo "Snippet post_anamon ..." +$SNIPPET('post_anamon') + +# Start final steps +echo +echo "Snippet autoinstall_done ..." +$SNIPPET('autoinstall_done') + ### debug set -x @@ -152,4 +176,6 @@ echo "gateway: '$gateway'" echo "ip_address_eth0: '$ip_address_eth0'" echo "mac_address_eth0: '$mac_address_eth0'" +# End final steps + %end