projects
/
sysadmin-cookbook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't wrap df output
[sysadmin-cookbook]
/
recepies
/
ganeti
/
migrate-lxc
/
2-lxc-mount-point.sh
diff --git
a/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh
b/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh
index
ebb3a21
..
d4dfc6b
100755
(executable)
--- a/
recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh
+++ b/
recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh
@@
-10,6
+10,6
@@
ssh_lxc() {
ssh_lxc /etc/init.d/lxc-watchdog status
mnt=`cat $host/lxc-watchdog | grep ^$host | awk '{ print $4 }' | tee $host/mnt`
ssh_lxc /etc/init.d/lxc-watchdog status
mnt=`cat $host/lxc-watchdog | grep ^$host | awk '{ print $4 }' | tee $host/mnt`
-ssh_lxc df -h $mnt
-size=`cat $host/df | grep /mnt/
r
t | awk '{ print $2 }' | tee $host/size`
+ssh_lxc df -
P -
h $mnt
+size=`cat $host/df | grep /mnt/
$hos
t | awk '{ print $2 }' | tee $host/size`