-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathk4h-dev.context
43 lines (37 loc) · 937 Bytes
/
k4h-dev.context
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh.after
parents=$(pid=$$; while [ $pid -ne 1 ]; do pid=$(ps -o ppid= -p $pid); cat /proc/$(echo $pid)/cmdline; done)
if ! echo $parents | grep -q amiconfig; then
echo "Skipping startup script, which should only run under amiconfig daemon"
exit 0
fi
__userhome=/home/k4huser
echo 'us=$1
if [ "x$us" = "x" ]; then
us=$USER
fi
kinit [email protected]
eosfusebind' > /usr/bin/eosinit
chmod a+x /usr/bin/eosinit
echo ' echo " "
echo " To enable EOS access please do"
echo " $ eosinit <your-cern-username>"
echo " "
exit 0
[amiconfig]
plugins=cernvm
[cernvm]
organisations=key4hep
repositories=clicdp,fcc,grid,sft,sw.hsf.org,sw-nightlies.hsf.org
shell=/bin/bash
config_url=http://cernvm.cern.ch/config
users=k4huser:k4huser:pass
edition=Desktop
screenRes=1280x700
keyboard=us
startXDM=on
auto_login=on
services=eosd,sshd,docker
[ucernvm-begin]
cvmfs_branch=cernvm-sl7.cern.ch
cvmfs_server=hepvm.cern.ch
[ucernvm-end]