mirror of https://github.com/apache/cloudstack.git
systemvmtemplate: zero out /var/log partition
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
6f907fb2cd
commit
2de12b50f8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue