Commit 296043a4 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Cleanups

parent 0a1d41ed
Pipeline #1912124 passed with stages
in 44 minutes and 40 seconds
......@@ -19,7 +19,7 @@ repo --name="CERN CentOS 7 CERN" --baseurl="http://linuxsoft.cern.ch/cern/centos
zerombr
clearpart --all --initlabel
part / --fstype ext4 --size=3000
part / --fstype ext4 --size=3000
reboot
%packages --excludedocs --nocore --nobase --instLangs=en
......@@ -41,7 +41,6 @@ hepix
iproute
iputils
-kernel*
krb5-workstation
less
-libteam
openldap-clients
......@@ -57,7 +56,7 @@ yum-plugin-ovl
%end
%post
%post --log=/root/ks-post.log
# randomize root password and lock root account
dd if=/dev/urandom count=50 | md5sum | passwd --stdin root
passwd -l root
......@@ -70,7 +69,6 @@ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-cern
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-kojiv2
# some packages get installed even though we ask for them not to be,
# and they don't have any external dependencies that should make
# anaconda install them
......@@ -117,7 +115,6 @@ find /usr/share/{man,doc,info,gnome/help} \
-type f | xargs /bin/rm
# ldconfig
rm -rf /etc/ld.so.cache
rm -rf /var/cache/ldconfig/*
......@@ -148,7 +145,6 @@ rm -f /etc/rpm/macros.imgcreate
############# CERN'ify ########################################################
cat > /etc/krb5.conf <<EOF
[libdefaults]
default_realm = CERN.CH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment