Commit 9bb77084 authored by Thomas Oulevey's avatar Thomas Oulevey
Browse files

ssl trick

parent bccae5a0
......@@ -14,8 +14,11 @@ Scientific Linux CERN 5.11 is the last minor release of SLC5
```
koji image-build slc5-base 5.x.`date "+%Y%m%d"` slc5-image-5x http://linuxsoft.cern.ch/cern/slc5X/x86_64 x86_64 \
--ksurl=git+ssh://git@gitlab.cern.ch:7999/linuxsupport/slc5-base#master \
--kickstart=slc5-base-docker.ks --distro SLC-5.11 --format docker --ksversion RHEL5 --factory-parameter dockerversion 1.10.1 { --scratch }
--ksurl=git+ssh://git@gitlab.cern.ch:7999/linuxsupport/slc5-base#master \
--kickstart=slc5-base-docker.ks --distro RHEL-5.11 --format docker --ksversion RHEL5 --factory-parameter dockerversion 1.10.1 \
--factory-parameter=docker_env '["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]' \
--factory-parameter=docker_cmd '["/bin/bash"]' \
--scratch
```
note: ksversion RHEL5 <-- otherwise kickstart sections not ending in %end will fail.
......
......@@ -33,7 +33,9 @@ part / --fstype ext3 --size=1024 --grow
# for all the rest use % post ...
# jarek 01.12.2015
#
%pre --log=/root/anaconda-pre.log
sed -i 's/^repo /repo --noverifyssl /' /tmp/ks.cfg
%end
%packages --nobase
bash
......
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