import repository from arizona
[raven.git] / tools / create_default_tpfiles / create_stork_tpfile.sh
1 #!/bin/bash
2
3 KEYDIR=/home/smbaker/projects/stork/trunk/keys
4 TPDIR=/repository/yumimport/user-upload/tpfiles
5
6 #STORKUTIL=~/projects/stork20/2.0/python/storkutil.py
7 STORKUTIL=~/projects/stork/trunk/2.0/python/storkutil.py
8
9 # storkutil expects this to be in the current dir
10 cp $KEYDIR/stork.privatekey .
11 cp $KEYDIR/stork.publickey .
12
13 rm -f stork*.tpfile
14 python $STORKUTIL --storkutilsetupcomplete true --createblank -ustork adduser --orderby timestamp smbaker-release $KEYDIR/smbaker-ssh.publickey allow "*"
15
16 cp default*.tpfile $TPDIR/