mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-23 00:12:18 +00:00
5 lines
186 B
Bash
5 lines
186 B
Bash
|
#!/bin/bash -eu
|
||
|
echo '>> Zeroing free space to reduce disk size'
|
||
|
sudo sh -c 'dd if=/dev/zero of=/EMPTY bs=1M || true; sync; sleep 1; sync'
|
||
|
sudo sh -c 'rm -f /EMPTY; sync; sleep 1; sync'
|