systemvmtemplate: zero out /var/log partition

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-03-30 15:52:51 +05:30
parent 6f907fb2cd
commit 2de12b50f8
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function cleanup_veewee() {
function zero_disk() {
cleanup_veewee
for path in / /boot /usr /var /opt /tmp /home
for path in / /boot /usr /var /var/log /opt /tmp /home
do
dd if=/dev/zero of=${path}/zero bs=1M || true
sync