Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix some bugs when testing opensds ansible
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
fs
/
snaps
/
untar_snap_rm.sh
1
#!/bin/sh
2
3
set -e
4
5
ceph mds set allow_new_snaps true --yes-i-really-mean-it
6
7
do_tarball() {
8
wget http://download.ceph.com/qa/$1
9
tar xvf$2 $1
10
mkdir .snap/k
11
sync
12
rm -rv $3
13
cp -av .snap/k .
14
rmdir .snap/k
15
rm -rv k
16
rm $1
17
}
18
19
do_tarball coreutils_8.5.orig.tar.gz z coreutils-8.5
20
do_tarball linux-2.6.33.tar.bz2 j linux-2.6.33