# kickstart template for Castor # System authorization information auth --enableshadow --passalgo=sha512 # Use network installation url --url=http://130.238.137.100/cblr/links/centos7-x86_64 # If any cobbler repo definitions were referenced in the kickstart profile, include them here. repo --name=epel7 --baseurl=http://130.238.137.100/cobbler/repo_mirror/epel7 repo --name=source-1 --baseurl=http://130.238.137.100/cobbler/ks_mirror/centos7 # Use graphical install text skipx # Firewall configuration firewall --disabled # Run the Setup Agent on first boot firstboot --enable ignoredisk --only-use=sdc # Keyboard layouts keyboard --vckeymap=se --xlayouts='se','us' # System language lang en_US.UTF-8 # Network information network --bootproto=static --device=team0 --gateway=172.18.56.1 --ip=172.18.56.143 --nameserver=130.238.137.137 --netmask=255.255.252.0 --onboot=on --activate --teamslaves="enp5s0,enp5s0d1" --teamconfig="{\"runner\": {\"name\": \"lacp\", \"tx_hash\": [ \"eth\", \"l3\", \"l4\" ] }}" network --bootproto=dhcp --device=enp2s0f0 --ipv6=auto --activate network --bootproto=dhcp --device=enp2s0f1 --onboot=off network --hostname=castor43 --device=team0 # Reboot after installation reboot # Root password rootpw --iscrypted $1$smmjoA3e$Ya/o8jOubHy9jRT7GmliO1 # System services services --enabled="chronyd" selinux --disabled # System timezone timezone Europe/Stockholm --isUtc # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sdc # Partition clearing information clearpart --all --initlabel --drives=sdc,sdc # Disk partitioning information part /boot --fstype="xfs" --ondisk=sdc --size=500 part pv.110 --fstype="lvmpv" --ondisk=sdc --size=73729 volgroup centos --pesize=4096 pv.110 logvol swap --fstype="swap" --size=4096 --name=swap --vgname=centos logvol / --fstype="xfs" --grow --size=1024 --name=root --vgname=centos %packages @^minimal @core chrony gdisk hdparm kexec-tools kexec-tools nfs-utils screen tcpdump teamd %end %addon com_redhat_kdump --enable --reserve-mb='auto' %end