git://git.onelab.eu
/
lxc-reference.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b31789
)
Fix lxc-reference initscript.
author
Marco Yuen
<marcoy@gmail.com>
Mon, 19 Dec 2011 18:35:46 +0000
(13:35 -0500)
committer
Marco Yuen
<marcoy@gmail.com>
Mon, 19 Dec 2011 18:35:46 +0000
(13:35 -0500)
initscript/lxc-reference
patch
|
blob
|
history
diff --git
a/initscript/lxc-reference
b/initscript/lxc-reference
index
7931f99
..
e361e1f
100644
(file)
--- a/
initscript/lxc-reference
+++ b/
initscript/lxc-reference
@@
-25,9
+25,9
@@
VERSION=`yum info lxc-reference | grep Version | awk '{ print $3; }'`
if [ -f /vservers/lxc-reference-${VERSION}.tgz ]; then
mkdir -p /vservers/.lvref
if [ -f /vservers/lxc-reference-${VERSION}.tgz ]; then
mkdir -p /vservers/.lvref
- btrfs subvolume
/vservers/.lvref/lxc-f14-x86_86
- btrfs subvolume
/vservers/.lvref/lxc-squeeze-x86_86
- tar zxvf /vservers/lxc-reference-${VERSION}.tgz -C /vservers/
tmp
+ btrfs subvolume
create /vservers/.lvref/lxc-f14-x86_64
+ btrfs subvolume
create /vservers/.lvref/lxc-squeeze-x86_64
+ tar zxvf /vservers/lxc-reference-${VERSION}.tgz -C /vservers/
rm -rf /vservers/lxc-reference-${VERSION}.tgz
fi
rm -rf /vservers/lxc-reference-${VERSION}.tgz
fi