From 7e5364d2eaa0ce8b39464a4005d9b0881da0dbac Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 2 May 2014 15:47:55 +0000 Subject: [PATCH] don't wrap df output git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@318 191e9f34-6774-4a6d-acfc-7664dacd4a2a --- recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh b/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh index b91e5ec..d4dfc6b 100755 --- 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 df -h $mnt +ssh_lxc df -P -h $mnt size=`cat $host/df | grep /mnt/$host | awk '{ print $2 }' | tee $host/size` -- 2.20.1