Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
linuxsupport
cc7-base
Commits
296043a4
Commit
296043a4
authored
Sep 03, 2020
by
Alex Iribarren
Browse files
Cleanups
parent
0a1d41ed
Pipeline
#1912124
passed with stages
in 44 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cc7-base-docker.ks
View file @
296043a4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment