]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Updating kickstarts
authorFrank Brehm <frank@brehm-online.com>
Tue, 21 Jun 2022 16:09:32 +0000 (18:09 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 21 Jun 2022 16:09:32 +0000 (18:09 +0200)
kickstart/dpx-rocky8-test.ks [new file with mode: 0644]
kickstart/profile.vmware-template-centos7.ks [new file with mode: 0644]
kickstart/profile.vmware-template-centos8.ks [new file with mode: 0644]
kickstart/profile.vmware-template-oel7.ks [new file with mode: 0644]
kickstart/vmware-template-centos7.ks [deleted file]
kickstart/vmware-template-centos8.ks [deleted file]
kickstart/vmware-template-oel7.ks [deleted file]

diff --git a/kickstart/dpx-rocky8-test.ks b/kickstart/dpx-rocky8-test.ks
new file mode 100644 (file)
index 0000000..a81f7f8
--- /dev/null
@@ -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/profile.vmware-template-centos7.ks b/kickstart/profile.vmware-template-centos7.ks
new file mode 100644 (file)
index 0000000..653904b
--- /dev/null
@@ -0,0 +1,154 @@
+######################################################################################
+# Centos7 for Privisioning-Installation
+######################################################################################
+#
+# Standard Pixelpark Installation of CentOS 7 templates
+#
+
+# Firewall configuration
+firewall --disabled
+
+# Use network installation
+url --url="https://repo02.pixelpark.com/Linux/yum/centos/7/os/x86_64" --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
+
+# Use text mode install
+text
+
+# System keyboard
+keyboard de
+
+# System language
+lang en_US
+
+# SELinux configuration
+selinux --permissiv
+
+# Do not configure the X Window System
+skipx
+
+# Installation logging level
+logging --level=debug
+
+# Reboot after installation
+reboot
+
+# System timezone
+timezone  Europe/Berlin
+
+###########################################
+# Partitioning and Disk
+
+# System bootloader configuration
+bootloader --location=mbr --append="net.ifnames=0 biosdevname=0"
+
+# Partition clearing information
+clearpart --all --drive=sda
+
+# Disk partitioning information
+part /boot --fstype ext4 --size=512 --ondisk=sda
+part swap --size=512 --ondisk=sda
+part pv.01 --size=1 --grow --ondisk=sda
+volgroup vgroot pv.01
+logvol  /home  --vgname=vgroot --name=home --size=4096
+logvol  /      --vgname=vgroot --name=root --size=10240
+logvol  /var   --vgname=vgroot --name=var  --size=1 --grow
+
+##########################################
+# Repositories
+
+repo --name=pp-repo-os --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/7/os/x86_64/
+repo --name=pp-repo-extras --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/7/extras/x86_64/
+repo --name=pp-repo-updates --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/7/updates/x86_64/
+
+##########################################
+# Packages
+
+%packages
+@base
+bc
+bind-utils
+curl
+dosfstools
+git
+iotop
+ksh
+mailx
+man
+mlocate
+psmisc
+rsync
+strace
+sysstat
+tcpdump
+telnet
+tmux
+vim
+wget
+yum-utils
+-mysql-community*
+%end
+
+#######################
+# Packages later:
+# colordiff
+# 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")
+
+### debug
+
+set -x
+echo "cobbler profile = $profile_name"
+
+echo
+echo "IP interfaces"
+ip link show
+
+echo
+echo "IP addresses"
+ip address show
+
+echo
+echo "IPv4 routes"
+ip route list
+
+echo
+echo "IPv6 routes"
+ip -6 route list
+
+
+### remove unnecessary directory
+rm -rf /var/var
+
+export hostname="$hostname"
+export system_name="$system_name"
+export gateway="$gateway"
+export ip_address_eth0="$ip_address_eth0"
+export mac_address_eth0="$mac_address_eth0"
+
+echo "hostname:         '$hostname'"
+echo "system_name:      '$system_name'"
+echo "gateway:          '$gateway'"
+echo "ip_address_eth0:  '$ip_address_eth0'"
+echo "mac_address_eth0: '$mac_address_eth0'"
+
+%end
diff --git a/kickstart/profile.vmware-template-centos8.ks b/kickstart/profile.vmware-template-centos8.ks
new file mode 100644 (file)
index 0000000..a57f1d8
--- /dev/null
@@ -0,0 +1,155 @@
+######################################################################################
+# Centos8 for Privisioning-Installation
+######################################################################################
+#
+# Standard Pixelpark Installation of CentOS 8 templates
+#
+
+# Firewall configuration
+firewall --disabled
+
+# Use network installation
+url --url="https://repo02.pixelpark.com/Linux/yum/centos/8/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
+# Use text mode install
+text
+# System keyboard
+keyboard de
+# System language
+lang en_US
+# SELinux configuration
+selinux --permissiv
+# Do not configure the X Window System
+skipx
+# Installation logging level
+logging --level=debug
+# Reboot after installation
+reboot
+# System timezone
+timezone  Europe/Berlin
+
+###########################################
+# Partitioning and Disk
+
+# System bootloader configuration
+bootloader --location=mbr --append="net.ifnames=0 biosdevname=0"
+
+# Partition clearing information
+clearpart --all --drive=sda
+
+# Disk partitioning information
+part /boot --fstype ext4 --size=512 --ondisk=sda
+part swap --size=512 --ondisk=sda
+part pv.01 --size=1 --grow --ondisk=sda
+volgroup vgroot pv.01
+logvol  /home  --vgname=vgroot --name=home --size=4096
+logvol  /      --vgname=vgroot --name=root --size=10240
+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/
+
+
+%packages
+@core
+@^minimal install
+-abrt*
+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
+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")
+
+### debug
+
+set -x
+echo "cobbler profile = $profile_name"
+
+echo
+echo "IP interfaces"
+ip link show
+
+echo
+echo "IP addresses"
+ip address show
+
+echo
+echo "IPv4 routes"
+ip route list
+
+echo
+echo "IPv6 routes"
+ip -6 route list
+
+
+### remove unnecessary directory
+rm -rf /var/var
+
+export hostname="$hostname"
+export system_name="$system_name"
+export gateway="$gateway"
+export ip_address_eth0="$ip_address_eth0"
+export mac_address_eth0="$mac_address_eth0"
+
+echo "hostname:         '$hostname'"
+echo "system_name:      '$system_name'"
+echo "gateway:          '$gateway'"
+echo "ip_address_eth0:  '$ip_address_eth0'"
+echo "mac_address_eth0: '$mac_address_eth0'"
+
+%end
diff --git a/kickstart/profile.vmware-template-oel7.ks b/kickstart/profile.vmware-template-oel7.ks
new file mode 100644 (file)
index 0000000..794a31f
--- /dev/null
@@ -0,0 +1,154 @@
+######################################################################################
+# OracleLinux 7 for Privisioning-Installation
+######################################################################################
+#
+# Standard Pixelpark Installation of OracleLinux 7 templates
+#
+
+# Firewall configuration
+firewall --disabled
+
+# Use network installation
+url --url="https://cobbler.pixelpark.com/cobbler/ks_mirror/Oracle-Linux-7.8-x86_64/" --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
+
+# Use text mode install
+text
+
+# System keyboard
+keyboard de
+
+# System language
+lang en_US
+
+# SELinux configuration
+selinux --permissiv
+
+# Do not configure the X Window System
+skipx
+
+# Installation logging level
+logging --level=debug
+
+# Reboot after installation
+reboot
+
+# System timezone
+timezone  Europe/Berlin
+
+###########################################
+# Partitioning and Disk
+
+# System bootloader configuration
+bootloader --location=mbr --append="net.ifnames=0 biosdevname=0"
+
+# Partition clearing information
+clearpart --all --drive=sda
+
+# Disk partitioning information
+part /boot --fstype ext4 --size=512 --ondisk=sda
+part swap --size=512 --ondisk=sda
+part pv.01 --size=1 --grow --ondisk=sda
+volgroup vgroot pv.01
+logvol  /home  --vgname=vgroot --name=home --size=4096
+logvol  /      --vgname=vgroot --name=root --size=10240
+logvol  /var   --vgname=vgroot --name=var  --size=1 --grow
+
+##########################################
+# Repositories
+
+repo --name=pp-oel-latest --baseurl=https://repo02.pixelpark.com/Linux/yum/OracleLinux/OL7/ol7_latest/
+repo --name=pp-oel-optional-latest --baseurl=https://repo02.pixelpark.com/Linux/yum/OracleLinux/OL7/ol7_optional_latest/
+
+##########################################
+# Packages
+
+%packages
+@base
+bc
+bind-utils
+curl
+dosfstools
+git
+iotop
+ksh
+mailx
+man
+mlocate
+psmisc
+rsync
+strace
+sysstat
+tcpdump
+telnet
+tmux
+vim
+wget
+yum-utils
+-mysql-community*
+-*uek*
+%end
+
+#######################
+# Packages later:
+# colordiff
+# 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")
+
+### debug
+
+set -x
+echo "cobbler profile = $profile_name"
+
+echo
+echo "IP interfaces"
+ip link show
+
+echo
+echo "IP addresses"
+ip address show
+
+echo
+echo "IPv4 routes"
+ip route list
+
+echo
+echo "IPv6 routes"
+ip -6 route list
+
+
+### remove unnecessary directory
+rm -rf /var/var
+
+export hostname="$hostname"
+export system_name="$system_name"
+export gateway="$gateway"
+export ip_address_eth0="$ip_address_eth0"
+export mac_address_eth0="$mac_address_eth0"
+
+echo "hostname:         '$hostname'"
+echo "system_name:      '$system_name'"
+echo "gateway:          '$gateway'"
+echo "ip_address_eth0:  '$ip_address_eth0'"
+echo "mac_address_eth0: '$mac_address_eth0'"
+
+%end
diff --git a/kickstart/vmware-template-centos7.ks b/kickstart/vmware-template-centos7.ks
deleted file mode 100644 (file)
index 653904b..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-######################################################################################
-# Centos7 for Privisioning-Installation
-######################################################################################
-#
-# Standard Pixelpark Installation of CentOS 7 templates
-#
-
-# Firewall configuration
-firewall --disabled
-
-# Use network installation
-url --url="https://repo02.pixelpark.com/Linux/yum/centos/7/os/x86_64" --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
-
-# Use text mode install
-text
-
-# System keyboard
-keyboard de
-
-# System language
-lang en_US
-
-# SELinux configuration
-selinux --permissiv
-
-# Do not configure the X Window System
-skipx
-
-# Installation logging level
-logging --level=debug
-
-# Reboot after installation
-reboot
-
-# System timezone
-timezone  Europe/Berlin
-
-###########################################
-# Partitioning and Disk
-
-# System bootloader configuration
-bootloader --location=mbr --append="net.ifnames=0 biosdevname=0"
-
-# Partition clearing information
-clearpart --all --drive=sda
-
-# Disk partitioning information
-part /boot --fstype ext4 --size=512 --ondisk=sda
-part swap --size=512 --ondisk=sda
-part pv.01 --size=1 --grow --ondisk=sda
-volgroup vgroot pv.01
-logvol  /home  --vgname=vgroot --name=home --size=4096
-logvol  /      --vgname=vgroot --name=root --size=10240
-logvol  /var   --vgname=vgroot --name=var  --size=1 --grow
-
-##########################################
-# Repositories
-
-repo --name=pp-repo-os --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/7/os/x86_64/
-repo --name=pp-repo-extras --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/7/extras/x86_64/
-repo --name=pp-repo-updates --baseurl=https://repo02.pixelpark.com/Linux/yum/centos/7/updates/x86_64/
-
-##########################################
-# Packages
-
-%packages
-@base
-bc
-bind-utils
-curl
-dosfstools
-git
-iotop
-ksh
-mailx
-man
-mlocate
-psmisc
-rsync
-strace
-sysstat
-tcpdump
-telnet
-tmux
-vim
-wget
-yum-utils
--mysql-community*
-%end
-
-#######################
-# Packages later:
-# colordiff
-# 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")
-
-### debug
-
-set -x
-echo "cobbler profile = $profile_name"
-
-echo
-echo "IP interfaces"
-ip link show
-
-echo
-echo "IP addresses"
-ip address show
-
-echo
-echo "IPv4 routes"
-ip route list
-
-echo
-echo "IPv6 routes"
-ip -6 route list
-
-
-### remove unnecessary directory
-rm -rf /var/var
-
-export hostname="$hostname"
-export system_name="$system_name"
-export gateway="$gateway"
-export ip_address_eth0="$ip_address_eth0"
-export mac_address_eth0="$mac_address_eth0"
-
-echo "hostname:         '$hostname'"
-echo "system_name:      '$system_name'"
-echo "gateway:          '$gateway'"
-echo "ip_address_eth0:  '$ip_address_eth0'"
-echo "mac_address_eth0: '$mac_address_eth0'"
-
-%end
diff --git a/kickstart/vmware-template-centos8.ks b/kickstart/vmware-template-centos8.ks
deleted file mode 100644 (file)
index a57f1d8..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-######################################################################################
-# Centos8 for Privisioning-Installation
-######################################################################################
-#
-# Standard Pixelpark Installation of CentOS 8 templates
-#
-
-# Firewall configuration
-firewall --disabled
-
-# Use network installation
-url --url="https://repo02.pixelpark.com/Linux/yum/centos/8/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
-# Use text mode install
-text
-# System keyboard
-keyboard de
-# System language
-lang en_US
-# SELinux configuration
-selinux --permissiv
-# Do not configure the X Window System
-skipx
-# Installation logging level
-logging --level=debug
-# Reboot after installation
-reboot
-# System timezone
-timezone  Europe/Berlin
-
-###########################################
-# Partitioning and Disk
-
-# System bootloader configuration
-bootloader --location=mbr --append="net.ifnames=0 biosdevname=0"
-
-# Partition clearing information
-clearpart --all --drive=sda
-
-# Disk partitioning information
-part /boot --fstype ext4 --size=512 --ondisk=sda
-part swap --size=512 --ondisk=sda
-part pv.01 --size=1 --grow --ondisk=sda
-volgroup vgroot pv.01
-logvol  /home  --vgname=vgroot --name=home --size=4096
-logvol  /      --vgname=vgroot --name=root --size=10240
-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/
-
-
-%packages
-@core
-@^minimal install
--abrt*
-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
-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")
-
-### debug
-
-set -x
-echo "cobbler profile = $profile_name"
-
-echo
-echo "IP interfaces"
-ip link show
-
-echo
-echo "IP addresses"
-ip address show
-
-echo
-echo "IPv4 routes"
-ip route list
-
-echo
-echo "IPv6 routes"
-ip -6 route list
-
-
-### remove unnecessary directory
-rm -rf /var/var
-
-export hostname="$hostname"
-export system_name="$system_name"
-export gateway="$gateway"
-export ip_address_eth0="$ip_address_eth0"
-export mac_address_eth0="$mac_address_eth0"
-
-echo "hostname:         '$hostname'"
-echo "system_name:      '$system_name'"
-echo "gateway:          '$gateway'"
-echo "ip_address_eth0:  '$ip_address_eth0'"
-echo "mac_address_eth0: '$mac_address_eth0'"
-
-%end
diff --git a/kickstart/vmware-template-oel7.ks b/kickstart/vmware-template-oel7.ks
deleted file mode 100644 (file)
index 794a31f..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-######################################################################################
-# OracleLinux 7 for Privisioning-Installation
-######################################################################################
-#
-# Standard Pixelpark Installation of OracleLinux 7 templates
-#
-
-# Firewall configuration
-firewall --disabled
-
-# Use network installation
-url --url="https://cobbler.pixelpark.com/cobbler/ks_mirror/Oracle-Linux-7.8-x86_64/" --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
-
-# Use text mode install
-text
-
-# System keyboard
-keyboard de
-
-# System language
-lang en_US
-
-# SELinux configuration
-selinux --permissiv
-
-# Do not configure the X Window System
-skipx
-
-# Installation logging level
-logging --level=debug
-
-# Reboot after installation
-reboot
-
-# System timezone
-timezone  Europe/Berlin
-
-###########################################
-# Partitioning and Disk
-
-# System bootloader configuration
-bootloader --location=mbr --append="net.ifnames=0 biosdevname=0"
-
-# Partition clearing information
-clearpart --all --drive=sda
-
-# Disk partitioning information
-part /boot --fstype ext4 --size=512 --ondisk=sda
-part swap --size=512 --ondisk=sda
-part pv.01 --size=1 --grow --ondisk=sda
-volgroup vgroot pv.01
-logvol  /home  --vgname=vgroot --name=home --size=4096
-logvol  /      --vgname=vgroot --name=root --size=10240
-logvol  /var   --vgname=vgroot --name=var  --size=1 --grow
-
-##########################################
-# Repositories
-
-repo --name=pp-oel-latest --baseurl=https://repo02.pixelpark.com/Linux/yum/OracleLinux/OL7/ol7_latest/
-repo --name=pp-oel-optional-latest --baseurl=https://repo02.pixelpark.com/Linux/yum/OracleLinux/OL7/ol7_optional_latest/
-
-##########################################
-# Packages
-
-%packages
-@base
-bc
-bind-utils
-curl
-dosfstools
-git
-iotop
-ksh
-mailx
-man
-mlocate
-psmisc
-rsync
-strace
-sysstat
-tcpdump
-telnet
-tmux
-vim
-wget
-yum-utils
--mysql-community*
--*uek*
-%end
-
-#######################
-# Packages later:
-# colordiff
-# 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")
-
-### debug
-
-set -x
-echo "cobbler profile = $profile_name"
-
-echo
-echo "IP interfaces"
-ip link show
-
-echo
-echo "IP addresses"
-ip address show
-
-echo
-echo "IPv4 routes"
-ip route list
-
-echo
-echo "IPv6 routes"
-ip -6 route list
-
-
-### remove unnecessary directory
-rm -rf /var/var
-
-export hostname="$hostname"
-export system_name="$system_name"
-export gateway="$gateway"
-export ip_address_eth0="$ip_address_eth0"
-export mac_address_eth0="$mac_address_eth0"
-
-echo "hostname:         '$hostname'"
-echo "system_name:      '$system_name'"
-echo "gateway:          '$gateway'"
-echo "ip_address_eth0:  '$ip_address_eth0'"
-echo "mac_address_eth0: '$mac_address_eth0'"
-
-%end