mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-12-23 04:02:19 +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'
|